1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-31 13:20:11 +02:00

Let signed-in users perform email confirmation as well in 'tests'

This commit is contained in:
Marco
2017-07-30 20:58:40 +02:00
parent 7b98993bf8
commit 3329c6a985

View File

@@ -536,6 +536,8 @@ function showAuthenticatedUserForm(\Delight\Auth\Auth $auth) {
echo '<button type="submit">Change password</button>';
echo '</form>';
showConfirmEmailForm();
echo '<form action="" method="post" accept-charset="utf-8">';
echo '<input type="hidden" name="action" value="setPasswordResetEnabled" />';
echo '<select name="enabled" size="1">';