Bootstrap 5 continued + bugfixes
This commit is contained in:
@ -214,6 +214,10 @@ class Forms extends Check {
|
||||
* @return {bool}
|
||||
*/
|
||||
public static function passwordResetCode() {
|
||||
if ( !Input::exists( 'resetCode' ) ) {
|
||||
self::addUserError( 'Invalid resetCode.' );
|
||||
return false;
|
||||
}
|
||||
if ( !self::token() ) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user