mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Enable legacy login for tests
This commit is contained in:
parent
1e4e22c472
commit
7d5bd74c43
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class User
|
|||
@getCsrfToken (error) =>
|
||||
return callback(error) if error?
|
||||
@request.post {
|
||||
url: "/login"
|
||||
url: if settings.enableLegacyLogin then "/login/legacy" else "/login"
|
||||
json: { email, @password }
|
||||
}, callback
|
||||
|
||||
|
|
Loading…
Reference in a new issue