This package can Manage user registrations and authentication.
The registration class can create user records on a database using a PDO object created separately.
It can validate the user record values before creating the user account. It also sends an email message to let the user activate the account to be activated when the user returns to the site using a token sent in the email.
The login class can authenticate the user with his user name and password, setting session variables if the authentication is done correctly.
The class can also terminate the logged user session. |