Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Perl Catalyst

by akuk (Sexton)
on Oct 10, 2018 at 13:50 UTC ( #1223799=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
               $pbk_crypt = Crypt::PBKDF2->new(
                    hash_class => 'HMACSHA2',
    ...
    
            $pass = $pbk_crypt->generate('password');
     
    
  2. or download this
    __PACKAGE__->config(
        'Plugin::Authentication' => {
    ...
                password_type   => 'self_check',
            },
    )
    
  3. or download this
    __PACKAGE__->add_columns(
        'password' => {
    ...
            passphrase_check_method => 'check_password',
        },
    ); 
    
  4. or download this
     if ($username and $password) {
        if ($c->authenticate({ username => $username,
    ...
                $c->stash(error_msg => "Bad username or password.");
            }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1223799]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2019-11-13 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (74 votes). Check out past polls.

    Notices?