mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
parent
ab72a725a2
commit
15a4369dda
@ -107,7 +107,7 @@ if (empty($_POST) === false) {
|
||||
$errors[] = 'Failed to authorize your account, are the details correct, have you <a href=\'register.php\'>register</a>ed?';
|
||||
} /*else if (user_activated($username) === false) {
|
||||
$errors[] = 'You havent activated your account! Please check your email. <br>Note it may appear in your junk/spam box.';
|
||||
} */else if (!Token::isValid($_POST['token'])) {
|
||||
} */else if ($config['use_token'] && !Token::isValid($_POST['token'])) {
|
||||
Token::debug($_POST['token']);
|
||||
$errors[] = 'Token is invalid.';
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user