class UserController (View source)

The User class provides all methods related to a user account.

Methods

static Response
changePassword()

Change the password of the currently logged in user based on $_POST.

static Response
edit()

Edit user account info such as username and email.

static string
resetPassword()

Reset a user password by email.

Details

static Response changePassword()

Change the password of the currently logged in user based on $_POST.

Return Value

Response the response object

static Response edit()

Edit user account info such as username and email.

Return Value

Response the response

static string resetPassword()

Reset a user password by email.

Return Value

string the form HTML