Changeset 6dec591 for app/Http/Controllers/SessionsController.php
- Timestamp:
- 02/08/24 16:34:49 (9 months ago)
- Branches:
- main
- Children:
- d9c4096
- Parents:
- cf84baa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/SessionsController.php
rcf84baa r6dec591 13 13 public function store() 14 14 { 15 16 15 $credentials = request()->validate([ 17 16 'badge_no' => 'required', … … 42 41 Session::put('badge_no', $badge_no); 43 42 Session::put('is_policeman', $policeman); 43 Session::put('pe_id', $exists[0]->pe_id); 44 44 return redirect()->intended('/'); 45 45 }
Note:
See TracChangeset
for help on using the changeset viewer.