mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Require password confirmation for changing the email
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
827b6a610e
commit
28ddf3abdb
2 changed files with 2 additions and 0 deletions
|
|
@ -495,6 +495,7 @@ class UsersController extends Controller {
|
|||
*
|
||||
* @NoAdminRequired
|
||||
* @NoSubadminRequired
|
||||
* @PasswordConfirmationRequired
|
||||
*
|
||||
* @param string $id
|
||||
* @param string $mailAddress
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ if($_['displayNameChangeSupported']) {
|
|||
</h2>
|
||||
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
|
||||
placeholder="<?php p($l->t('Your email address'));?>"
|
||||
class="password-confirm-required"
|
||||
autocomplete="on" autocapitalize="off" autocorrect="off" />
|
||||
<span class="msg"></span><br />
|
||||
<em><?php p($l->t('For password recovery and notifications'));?></em>
|
||||
|
|
|
|||
Loading…
Reference in a new issue