Eric Wolf > Yote > Yote::Login

Download:
Yote-0.228.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.04   Source  

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 ^

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.

syntax highlighting: