Commit 1273a447 authored by 20194288-huannh's avatar 20194288-huannh

Update notification of successful account registration

parent 8c50408c
...@@ -21,6 +21,7 @@ public function register(RegisterRequest $request){ ...@@ -21,6 +21,7 @@ public function register(RegisterRequest $request){
$user->phone = $request->phone; $user->phone = $request->phone;
$user->password = md5($request->password); $user->password = md5($request->password);
$user->save(); $user->save();
return 'Register success';
} }
public function login(LoginRequest $request){ public function login(LoginRequest $request){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment