NAME
Yote::Login
DESCRIPTION
Each user gets a single login for the yote system. The Yote::Login objects are container objects that store state data for the users.
PUBLIC METHODS
- is_master_root
-
Returns true if the account is the original root account
- is_root
-
Returns true if the account has root privileges.
- is_validated
-
Returns true if the account has validated.
- reset_password
-
Resets the password for this login taking a hash reference as an argument with the keys 'op' for old password, 'p' for password and 'p2' for password verification. Returns 'Password Reset'.
- upload_avatar
-
Create a Yote::FileHelper object representing the avatar image. The file control name is 'avatar' that uploads the avatar image.
- Avatar
-
Returns a Yote::FileHelper object representing the avatar image.
PUBLIC DATA FIELDS
- handle
PRIVATE DATA FIELDS
AUTHOR
Eric Wolf coyocanid@gmail.com http://madyote.com
LICENSE AND COPYRIGHT
Copyright (C) 2011 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.