Add login and register page #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create a login and a register page where user logins with either email or username. Use bcrypt with 12 rounds for password. Validate email using php FILTER_VAR VALIDATE EMAIL.
Setup sessions using php $_SESSION with uniqueidconnected to user id from users table.
Create auth function which compares the uniqueid with database