Ignore:
Timestamp:
08/26/24 14:20:34 (3 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
3c89e27
Parents:
8a258ab
Message:

Middleware for permissions based on officer, policeman or both

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/SessionsController.php

    r8a258ab r5372778  
    5454        if ($this->verifyPassword($password, $value, $value2)) {
    5555            // Authentication passed
     56            Session::put('auth', true);
    5657            Session::put('badge_no', $badge_no);
    5758            Session::put('is_policeman', $policeman);
Note: See TracChangeset for help on using the changeset viewer.