Skip to content

make:auth generates deprecated twig code #1082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
salirzv opened this issue Mar 11, 2022 · 0 comments · Fixed by #1104
Closed

make:auth generates deprecated twig code #1082

salirzv opened this issue Mar 11, 2022 · 0 comments · Fixed by #1104
Labels
Bug Bug Fix HasPR Status: Reviewed Has been reviewed by a maintainer

Comments

@salirzv
Copy link

salirzv commented Mar 11, 2022

There is a line in the file login.html.twig : You are logged in as {{ app.user.username }}
that should be changed to You are logged in as {{ app.user.userIdentifier }}

I think this command is not maintained any more because symfony doesn't need an authenticator for form login by default as symfony 6

@jrushlow jrushlow added Bug Bug Fix Status: Needs Review Needs to be reviewed Status: Reviewed Has been reviewed by a maintainer HasPR and removed Status: Needs Review Needs to be reviewed labels Apr 22, 2022
weaverryan added a commit that referenced this issue Apr 26, 2022
…(jrushlow)

This PR was squashed before being merged into the 1.0-dev branch.

Discussion
----------

[make:auth] drop guard support and legacy code cleanup

- drops support for the Guard Security System
- deprecates `Generator::getControllerForBaseClass`
- fixes #1082

Commits
-------

324f6f6 [make:auth] drop guard support and legacy code cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix HasPR Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants