mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #2740 from overleaf/ns-jpa-remove-error-2fa
Remove error upon success for asyncForms GitOrigin-RevId: 27e09667b11229b010d270ec2637082e069fcc95
This commit is contained in:
@@ -53,6 +53,8 @@ define(['../base', 'libs/passfield'], function(App) {
|
||||
formData['g-recaptcha-response'] = grecaptchaResponse
|
||||
}
|
||||
|
||||
// clear the response object which may be referenced downstream
|
||||
Object.keys(response).forEach(field => delete response[field])
|
||||
scope[attrs.name].inflight = true
|
||||
|
||||
// for asyncForm prevent automatic redirect to /login if
|
||||
|
||||
Reference in New Issue
Block a user