summaryrefslogtreecommitdiff
path: root/app/helpers/auth_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r--app/helpers/auth_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb
index dcc156311a1..cd4d778e508 100644
--- a/app/helpers/auth_helper.rb
+++ b/app/helpers/auth_helper.rb
@@ -60,12 +60,6 @@ module AuthHelper
end
end
- # Constructs the OAuth provider path.
- # For example: user_google_omniauth_authorize_path
- def provider_path(provider)
- send("user_#{provider.underscore}_omniauth_authorize_path")
- end
-
def auth_active?(provider)
current_user.identities.exists?(provider: provider.to_s)
end