dashboard login

This commit is contained in:
Afiq
2021-01-20 09:12:24 +08:00
parent d7a3a336bc
commit a35432fd68
6 changed files with 122 additions and 12 deletions
+3 -6
View File
@@ -18,10 +18,7 @@ Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
});
Route::group(['prefix' => 'mobile'], function () {
Route::post('/login', 'MobileController@login');
Route::get('/all', 'MobileController@index');
Route::post('/logout', 'MobileController@logout');
Route::post('/register/customer','Auth/RegisterController@registerCustomerMobile');
Route::post('password/email', 'ForgotPasswordMobileController@forgot');
Route::group(['prefix' => 'dashboard'], function () {
Route::post('/login', 'Auth\LoginController@loginDashboard');
Route::post('/logout', 'Auth\LoginController@logoutDashboard');
});