Skip to content
Snippets Groups Projects
Commit 44680c46 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Ensure single user is a local user (fixes #8154) (#8157)

parent 7b5ea727
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ class HomeController < ApplicationController
if request.path.start_with?('/web')
new_user_session_path
elsif single_user_mode?
short_account_path(Account.first)
short_account_path(Account.local.where(suspended: false).first)
else
about_path
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment