octobercms/october · error · ApplicationException
Unable to reset your password!
Error message
Unable to reset your password!
What it means
Error "Unable to reset your password!" thrown in octobercms/october.
Source
Thrown at modules/backend/controllers/Auth.php:282
'password' => __('Password'),
]);
if ($validation->fails()) {
throw new ValidationException($validation);
}
$code = post('code');
$user = BackendAuth::findUserById(post('id'));
if (!$user || !$user->checkResetPasswordCode($code)) {
throw new ApplicationException(__('Invalid password reset data supplied. Please try again!'));
}
// Validate password against policy
$user->validatePasswordPolicy(post('password'));
if (!$user->attemptResetPassword($code, post('password'))) {
throw new ApplicationException(__('Unable to reset your password!'));
}
// Clear the code used to reset the password
$user->clearResetPassword();
// Clear throttles
BackendAuth::clearThrottleForUserId($user->id);
Flash::success(__('Password has been reset. You may now sign in.'));
return Backend::redirect('backend/auth/signin');
}
/**
* setup will allow a user to create the first admin account
*/
public function setup()
{View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/controllers/Auth.php:282 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/74dd5d095a5f09f4.
Report an issue: GitHub.