mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Replace deprecated method from Laravel 6.x
This commit is contained in:
parent
77234ddc66
commit
3669dd7e31
@ -36,7 +36,7 @@ public function register(UserStoreRequest $request)
|
||||
$validated = $request->validated();
|
||||
event(new Registered($user = $this->create($validated)));
|
||||
|
||||
$this->attemptLogin($request);
|
||||
$this->guard()->login($user);
|
||||
|
||||
return response()->json([
|
||||
'message' => 'account created',
|
||||
|
Loading…
Reference in New Issue
Block a user