table of contents
MojoMojo::Controller::User(3pm) | User Contributed Perl Documentation | MojoMojo::Controller::User(3pm) |
NAME¶
MojoMojo::Controller::User - Login/User Management Controller
DESCRIPTION¶
This controller performs user management: registration, login, logout, password recovery and profile editing.
ACTIONS¶
login (/.login)¶
Log in through the authentication system.
logout ( /.logout )¶
Log out the user.
users ( /.users )¶
Show a list of the active users with links to the pages they edited.
page_user¶
Show a user's preferences
prefs ( .prefs )¶
Main user preferences screen.
password ( .prefs/password )¶
Change password action.
template: user/password.tt
recover_pass¶
Email a user a new password
register ( /.register )¶
Show new user registration form.
template: "user/register.tt"
is_account_taken¶
Test to see if a login or email is already in use.
do_register ( /.register )¶
New user registration processing.
templates: "user/password.tt", "user/validate.tt"
validate ( /.validate )¶
Validation of user email. Will accept a md5_hex mailed to the user earlier. Non-validated users will only be able to log out.
reconfirm¶
Send the confirmation mail again to another address.
profile ( .profile )¶
Show user profile.
editprofile¶
Form to edit a person's profile
do_editprofile¶
Apply the edits to a person's profile
AUTHOR¶
David Naughton <naughton@cpan.org>, Marcus Ramberg <mramberg@cpan.org>
LICENSE¶
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
2018-01-13 | perl v5.26.1 |