Description: Assume default instance
Author: Antonio Terceiro <terceiro@debian.org>
Forwarded: not-needed
Last-Update: 2022-03-29

--- a/lib/redmine/multi_tenancy.rb
+++ b/lib/redmine/multi_tenancy.rb
@@ -27,7 +27,7 @@
     def tenant
       # X_DEBIAN_SITEID is kept here for backwards compatibility with existing
       # Debian installations.
-      ENV['X_DEBIAN_SITEID'] || ENV['REDMINE_INSTANCE']
+      ENV['X_DEBIAN_SITEID'] || ENV['REDMINE_INSTANCE'] || 'default'
     end
 
     def tenant?
