Created
January 18, 2018 22:26
-
-
Save ollo-ride-nico/8c9fcfc6e9a90e68c22c0a9120f20056 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Je récupère le token de l utilisateur qui s' inscrit | |
$str = $this->get('security.token_storage')->getToken(); | |
//Je génère une url en passant le token (donc la ca ne marche pas)... | |
//Mon url donné est : "/public/index.php/activate" au lieu de "/public/index.php/activate?token=..." | |
$token = $this->generateUrl('activate', array('token' => $str)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment