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.

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.

PUBLIC DATA FIELDS

email
handle

PRIVATE DATA FIELDS

__created_ip
__is_master_root
__is_root
__time_created
_password

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.