Revert "Fixed a bug that would stop you from registering."

This reverts commit 7cc7235f2d.
This commit is contained in:
James Cole 2014-09-11 15:21:37 +02:00
parent 3c0863d8ea
commit 0192484044

View File

@ -38,7 +38,7 @@ class EmailHelper implements EmailHelperInterface
{
$password = \Str::random(12);
$user->password = $password;
$user->password = \Hash::make($password);
$user->reset = \Str::random(32); // new one.
$user->forceSave();
$email = $user->email;