fix: fix exception when trying to register a user (#4226)

This commit is contained in:
Alexis Saettler
2020-08-06 11:14:33 +02:00
committed by GitHub
parent 99e20d436a
commit a0a7d41a20
7 changed files with 13 additions and 5 deletions
@@ -111,9 +111,9 @@ class RegisterController extends Controller
return $user;
} catch (\Exception $e) {
Log::warning($e);
Log::error($e);
return null;
abort(500, trans('auth.signup_error'));
}
}