Fixed a bug that would stop you from registering.

This commit is contained in:
Sander Dorigo
2014-09-11 15:20:45 +02:00
parent e6bffc8024
commit 7cc7235f2d
+1 -1
View File
@@ -38,7 +38,7 @@ class EmailHelper implements EmailHelperInterface
{
$password = \Str::random(12);
$user->password = \Hash::make($password);
$user->password = $password;
$user->reset = \Str::random(32); // new one.
$user->forceSave();
$email = $user->email;