Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'validate_user' => sub{
- my ($app, $username, $password,$ldap) = @_;
- if ( $ldap->authenticate( $username, $password ) ) {
- return $username;
- }
- else {
- return undef;
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement