Sfoglia il codice sorgente

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

master
ThibG 5 anni fa
committed by Eugen Rochko
parent
commit
44680c46ed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/controllers/home_controller.rb

+ 1
- 1
app/controllers/home_controller.rb Vedi File

@@ -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


Caricamento…
Annulla
Salva