From 2b1002fd74257655162e25a5b8410329f03e76f4 Mon Sep 17 00:00:00 2001 From: akhil Date: Thu, 22 Apr 2021 07:57:54 +0530 Subject: [PATCH 1/3] Removed readonly from wrong field(displayname) and added to email field --- patches/007-recovery-email-changes.patch | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/patches/007-recovery-email-changes.patch b/patches/007-recovery-email-changes.patch index c2896685..f4055e78 100644 --- a/patches/007-recovery-email-changes.patch +++ b/patches/007-recovery-email-changes.patch @@ -21,14 +21,15 @@ if (empty($email)) { throw new ResetPasswordException('Could not send reset e-mail since there is no email for username ' . $input);--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530 ---- ./apps/settings/templates/settings/personal/personal.info.php 2021-03-26 11:34:48.659322845 +0530 -+++ ./apps/settings/templates/settings/personal/personal.info.new.php 2021-03-26 11:42:51.729044400 +0530 -@@ -113,7 +113,7 @@ - print_unescaped('class="hidden"'); - } ?> - value="" +--- personal.info.original.php 2021-04-22 07:49:34.926418855 +0530 ++++ personal.info.php 2021-04-22 07:50:00.026660710 +0530 +@@ -160,7 +160,7 @@ + print_unescaped('class="hidden"'); + } ?> + placeholder="t('Your email address')); ?>" - autocomplete="on" autocapitalize="none" autocorrect="off" /> + autocomplete="on" autocapitalize="none" autocorrect="off" readonly /> + + - Date: Thu, 22 Apr 2021 08:11:17 +0530 Subject: [PATCH 2/3] Updated patch --- patches/007-recovery-email-changes.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/007-recovery-email-changes.patch b/patches/007-recovery-email-changes.patch index f4055e78..026f33b3 100644 --- a/patches/007-recovery-email-changes.patch +++ b/patches/007-recovery-email-changes.patch @@ -21,8 +21,8 @@ if (empty($email)) { throw new ResetPasswordException('Could not send reset e-mail since there is no email for username ' . $input);--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530 ---- personal.info.original.php 2021-04-22 07:49:34.926418855 +0530 -+++ personal.info.php 2021-04-22 07:50:00.026660710 +0530 +--- ./apps/settings/templates/settings/personal/personal.info.php 2021-04-22 07:49:34.926418855 +0530 ++++ ./apps/settings/templates/settings/personal/personal.info.new.php 2021-04-22 07:50:00.026660710 +0530 @@ -160,7 +160,7 @@ print_unescaped('class="hidden"'); } ?> @@ -32,4 +32,3 @@ - -- GitLab From 2a273949aab9f4baa5b4112be564c11b46b70ff3 Mon Sep 17 00:00:00 2001 From: akhil Date: Thu, 22 Apr 2021 08:48:01 +0530 Subject: [PATCH 3/3] Removed unnecessary extra line --- patches/007-recovery-email-changes.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/007-recovery-email-changes.patch b/patches/007-recovery-email-changes.patch index 026f33b3..7b8b1393 100644 --- a/patches/007-recovery-email-changes.patch +++ b/patches/007-recovery-email-changes.patch @@ -20,7 +20,7 @@ + $email = $this->config->getUserValue($user->getUID(), 'email-recovery', 'recovery-email'); if (empty($email)) { - throw new ResetPasswordException('Could not send reset e-mail since there is no email for username ' . $input);--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530--- ./personal.info.original.php 2021-03-26 11:34:48.659322845 +0530 + throw new ResetPasswordException('Could not send reset e-mail since there is no email for username ' . $input); --- ./apps/settings/templates/settings/personal/personal.info.php 2021-04-22 07:49:34.926418855 +0530 +++ ./apps/settings/templates/settings/personal/personal.info.new.php 2021-04-22 07:50:00.026660710 +0530 @@ -160,7 +160,7 @@ -- GitLab