mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
typo fix
This commit is contained in:
1 parent
237f34d38f
commit
db4aecd23c
1 file changed
+1
-2
@@ -59,13 +59,12 @@ if ($_SERVER['REQUEST_METHOD'] === "POST") {
|
||||
$start_time = microtime(true);
|
||||
|
||||
$username = safepost('fUsername', null);
|
||||
if (empty($sername) || !is_string($username)) {
|
||||
if (empty($username) || !is_string($username)) {
|
||||
die("fUsername field required");
|
||||
}
|
||||
|
||||
$tUsername = escape_string($username);
|
||||
|
||||
|
||||
$handler = $context === 'admin' ? new AdminHandler : new MailboxHandler;
|
||||
$token = $handler->getPasswordRecoveryCode($tUsername);
|
||||
if ($token !== false) {
|
||||
|
||||
Reference in new issue
Block a user