1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

Implemented Custom Auth Framework

Rebuilt member authorization and session handling within Laravel's
envirnoment. Sticking with bcrypt encryption for passwords to make the
transistion simple.
This commit is contained in:
Ro
2023-08-15 14:05:51 -07:00
parent ba79c9924c
commit 14af284103
10 changed files with 173 additions and 21 deletions

View File

@ -2,6 +2,8 @@
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\FrontIndexController;
use App\Http\Controllers\AuthController;
use App\Http\Controllers\DenController;
/*
|--------------------------------------------------------------------------
@ -14,4 +16,13 @@ use App\Http\Controllers\FrontIndexController;
|
*/
//index
Route::get("/", [FrontIndexController::class, 'start']);
//auth
Route::get("/login", [AuthController::class, 'showLogin']);
Route::post("/login", [AuthController::class, 'memberAuth']);
//den
Route::get("/den", [DenController::class, 'start'])->middleware('member.check');
Route::get("/logout", [AuthController::class, 'leave']);