Commit 32906510 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_oauth_google_login: Clean up the code because Facebook login is not...

erp5_oauth_google_login: Clean up the code because Facebook login is not supported by erp5_oauth_google_login
parent 8d273f53
......@@ -18,8 +18,6 @@ activate_kw = {'tag': tag}
# to support Facebook login
if reference.startswith("go_"):
portal_type = "Google Login"
elif reference.startswith("fb_"):
portal_type = "Facebook Login"
else:
raise RuntimeError("Impossible to select a portal type")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment