mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02:00
Merge pull request #3816 from overleaf/jpa-fix-settings
[misc] fix the pre-filling of the users email in settings for Server Pro GitOrigin-RevId: 7732c362a6ca4a16b8c89f3430fceebaaf27dee7
This commit is contained in:
@@ -17,7 +17,11 @@ App.directive('asyncForm', ($http, validateCaptcha, validateCaptchaV3) => ({
|
||||
|
||||
scope[attrs.name].response = response = {}
|
||||
scope[attrs.name].inflight = false
|
||||
scope.email = scope.email || ctrl.getEmailFromQuery() || attrs.newEmail
|
||||
scope.email =
|
||||
scope.email ||
|
||||
scope.usersEmail ||
|
||||
ctrl.getEmailFromQuery() ||
|
||||
attrs.newEmail
|
||||
|
||||
const validateCaptchaIfEnabled = function(callback) {
|
||||
if (attrs.captchaActionName) {
|
||||
|
||||
Reference in New Issue
Block a user