mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 10:49:23 +02:00
Fixing username recovery in recovery.php (#335)
When trying to recover username, the password input would show.
This commit is contained in:
parent
ab4c9bed4f
commit
590dc37d28
@ -174,7 +174,7 @@ if ($config['mailserver']['accountRecovery']) {
|
||||
|
||||
if ($mode === 'password') {
|
||||
echo '<label for="username">Username:</label> <input type="text" name="username"><br>';
|
||||
} elseif ($mode === 'password') {
|
||||
} elseif ($mode === 'username') {
|
||||
echo '<label for="password">Password:</label> <input type="password" name="password"><br>';
|
||||
} elseif ($mode === 'token') {
|
||||
echo '<label for="username">Username:</label> <input type="text" name="username"><br>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user