mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-13 06:14:43 +00: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…
Add table
Reference in a new issue