Start your All-Access Pass to unlock this challenge
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?
Skip challenges and go to theNext Chapter