jeudi 12 mars 2020

How to create a Custom laravel authentication without using the default structure of authentication provided by laravel

I am using laravel 5.8

I have one table persons(id, matricule, name, section, is_punished, created_at, updated_at)

I have 4 page login_page, user_page, member_page and not_member_page

what i want is to allow user to connect to their respective page and authenticate then user using only this table (persons) and only with 'matricule' column,

what i mean : if the matricule inside database.persons table is matched with the user input in the form inside login_page then he is authenticated and redirected to user_page

The page showed depend of the matricule

thanks in advance



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire