The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

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.