Check user count to prevent more than one registered user

This commit is contained in:
Bubka
2020-01-13 22:24:14 +01:00
parent 9fc722bda0
commit 289b36d9d0
8 changed files with 64 additions and 11 deletions

View File

@ -14,6 +14,7 @@ use Illuminate\Http\Request;
*/
Route::post('login', 'UserController@login');
Route::post('checkuser', 'UserController@checkUser');
Route::post('register', 'UserController@register');
Route::group(['middleware' => 'auth:api'], function(){