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

Challenge 1 / 2

Our controller takes the user as a non-nullable argument:

public function __invoke(
    #[CurrentUser]
    User $user,
    // ...
): Response {

We never added an #[IsGranted] or an access_control rule - yet visiting /change-password while logged out sends us straight to the login page. Why?

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.