add password login
This commit is contained in:
parent
93f5f022e4
commit
ebfe147ca4
12 changed files with 192 additions and 6 deletions
|
|
@ -4,6 +4,9 @@ use App\Http\Controllers\AuthController;
|
|||
use App\Http\Middleware\AuthMiddleware;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::post('/login', [AuthController::class, 'login'])
|
||||
->middleware('throttle:5,1');
|
||||
|
||||
Route::middleware(AuthMiddleware::class)->group(function (): void {
|
||||
Route::get('/me', [AuthController::class, 'me']);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue