lundi 19 décembre 2016

Proper way to change login process Laravel 5

I want to let the user connect to my website with only one different IP per hour. the way i designed this is by making two more columns in DB: storedIP and lastSeen.

Now i don't know how to modify the existing process so that it does the following things on login: Check if the user has been seen less than one hour ago, if yes check his IP and the one in the DB.

What is the clean and proper MVC way to change the existing Login Process to implement this in Laravel 5.3

Thank you guys, Gr3y4nt



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire