Full Login Procedure

What was meant to be a quick video as usual was not, but this should give you a good idea of the entire creation of a user login system, encompassing

Login server action - login form - unauthorised error handling - success redirection
Logout server action - logout redirection
Add new user server action - add new user form
Security Provider, Security Restrict, Password Hashing, Security Provider Enforcer, Retrieve logged in user details, Use logged in user details in a Server Connect query, Access the logged in user ID through PHP.

I have tried to cover everything i can without the video being 8 hours long, so I have not used password reset, user roles, and many other parts, but this should get you through most of the login functionality as I use it in Wappler.

Hope some find it useful

3 Likes