\User

Summary

Methods
Properties
Constants
__construct()
index()
login()
logout()
forgot_password()
no_privileges()
ajax_check_login()
ajax_forgot_password()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

index()

index() 

login()

login() 

logout()

logout() 

forgot_password()

forgot_password() 

no_privileges()

no_privileges() 

ajax_check_login()

ajax_check_login() 

[AJAX] Check whether the user has entered the correct login credentials.

The session data of a logged in user are the following:

 'user_id'
 'user_email'
 'role_slug'
 'dest_url'

ajax_forgot_password()

ajax_forgot_password() 

Regenerate a new password for the current user, only if the username and email address given corresond to an existing user in db.