---
name: "MojoMojo::Controller::User"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Controller::User"
---

# MojoMojo::Controller::User(3pm)

Login/User Management Controller

## 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.
