- or download this
# Loads user information, logs users in and out, controls cookies
my $user = My::Authentication::load();
- or download this
# Loads user information, logs users in and out, controls cookies
my $user = My::Authentication->load;
- or download this
#allow user administration. (for registration etc)
My::Authentication::add_user($username, $password, { #hash to store da
+ta }, [ roles ]);
My::Authentication::del_user($username);
- or download this
#allow user administration. (for registration etc)
My::Authentication->add_user($username, $password, { #hash to store da
+ta }, [ roles ]);
My::Authentication->del_user($username);
- or download this
#allow user administration. (for registration etc)
my $suspect = My::Authentication->add_user($username, $password, { #ha
+sh to store data });
$suspect->add_roles(roles);
- or download this
# Loads user information, logs users in and out, controls cookies
my $user = My::Authentication->load;
...
# require a user to be an admin, or give them an "Access denied page"
$user->require('admin', undef);