Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 2 / 2

After a successful reset, we log the user in ourselves - no password prompt, no login form:

$this->addFlash('success', 'Your password has been reset, you are now logged in!');
$security->login($user);

Why is it OK to skip the login form here?

Select your answer
Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.