mirror of https://github.com/zulip/zulip.git
urls: Add backwards-compatibility URL for mobile Google login.
In bf14a0af4
, we refactored the Google authentication system to use
the same code as GitHub auth, but neglected to provide a
backwards-compatible URL available for use by older versions of the
mobile apps.
Fixes #13081.
This commit is contained in:
parent
c037ba49a0
commit
a43b231f90
|
@ -423,6 +423,13 @@ i18n_urls = [
|
|||
url(r'^accounts/login/jwt/$', zerver.views.auth.remote_user_jwt, name='login-jwt'),
|
||||
url(r'^accounts/login/social/([\w,-]+)$', zerver.views.auth.start_social_login,
|
||||
name='login-social'),
|
||||
# Backwards-compatibility (legacy) Google auth URL for the mobile
|
||||
# apps; see https://github.com/zulip/zulip/issues/13081 for
|
||||
# background. We can remove this once older versions of the
|
||||
# mobile app are no longer present in the wild.
|
||||
url(r'^accounts/login/(google)/$', zerver.views.auth.start_social_login,
|
||||
name='login-social'),
|
||||
|
||||
url(r'^accounts/register/social/([\w,-]+)$',
|
||||
zerver.views.auth.start_social_signup,
|
||||
name='signup-social'),
|
||||
|
|
Loading…
Reference in New Issue