Remove 'None' from auth providers
This commit is contained in:
parent
05e5335716
commit
c3ad502f90
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ module Auth
|
|||
|
||||
def self.providers
|
||||
@providers[I18n.locale] ||= {
|
||||
I18n.t("auth.providers.none") => "",
|
||||
I18n.t("auth.providers.openid") => "openid"
|
||||
}.tap do |providers|
|
||||
providers[I18n.t("auth.providers.google")] = "google" if Settings.key?(:google_auth_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue