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_root
-
Returns trus if the account has root privileges.
- is_master_root
-
Returns trus if the account is the original root account
- 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.
AUTHOR
Eric Wolf
LICENSE AND COPYRIGHT
Copyright (C) 2011 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.