From 590dc37d286d23ec958a2e482ac19af20d11f873 Mon Sep 17 00:00:00 2001 From: AdrianRomeroCSE <46011473+AdrianRomeroCSE@users.noreply.github.com> Date: Fri, 21 Dec 2018 08:42:00 -0700 Subject: [PATCH] Fixing username recovery in recovery.php (#335) When trying to recover username, the password input would show. --- recovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recovery.php b/recovery.php index 6d26482..8bdb313 100644 --- a/recovery.php +++ b/recovery.php @@ -174,7 +174,7 @@ if ($config['mailserver']['accountRecovery']) { if ($mode === 'password') { echo '
'; - } elseif ($mode === 'password') { + } elseif ($mode === 'username') { echo '
'; } elseif ($mode === 'token') { echo '
';