Completed
Pull Request — master (#12)
by
unknown
03:10
created
Security/PasswordResetToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     private static function generatePasswordResetToken()
11 11
     {
12
-        return time() . base64_encode(random_bytes(10));
12
+        return time().base64_encode(random_bytes(10));
13 13
     }
14 14
 
15 15
     public static function validateToken(UserInterface $user, $token)
Please login to merge, or discard this patch.