Commit c3a19dd4 authored by Le Dinh Trung's avatar Le Dinh Trung

Merge branch 'feature/validation' into 'dev'

Update notification of successful account registration

See merge request !5
parents 7c74a81c 1273a447
...@@ -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