Add direct link to the Single-Sign On provider if there is only one sign up method available (#26083)
This commit is contained in:
@ -11,7 +11,7 @@ module WebAppControllerConcern
|
||||
end
|
||||
|
||||
def skip_csrf_meta_tags?
|
||||
current_user.nil?
|
||||
!(ENV['OMNIAUTH_ONLY'] == 'true' && Devise.omniauth_providers.length == 1) && current_user.nil?
|
||||
end
|
||||
|
||||
def set_app_body_class
|
||||
|
Reference in New Issue
Block a user