Answer the question
In order to leave comments, you need to log in
Is it possible to hide the password in the Guard token?
Making a dump in twig {{ dump(app) }}
https://symfony.com/doc/current/security/guard_aut...
AppVariable {#3049 ▼
-tokenStorage: TokenStorage {#2059 ▼
-token: PostAuthenticationGuardToken {#2348 ▼
-providerKey: "main"
-user: User {#2726 ▼
-plainPassword: UserPlainPassword {#2757 ▼
-plainPassword: null
}
-uuid: UserId {#2733 ▶}
-email: UserEmail {#2745 ▶}
-password: UserPassword {#2751 ▼
-password: "$2y$12$tq2XlVKIkuuEFgjYEWgg5.yqHXTFqB/EsTohOqgWVm7u4n4BDB5WG"
}
-salt: UserSalt {#2763 ▼
-salt: "HKIBVCPvolSaC/qUq5jHAZl/6YN2U2VDq6D8bm1WmOFVAdRdJ7M2Rh1RIf+rV8E/nf9XbZ6GJw=="
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question