diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-05 20:43:18 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 37722eca39874bb6abdcd120e3e458bd62dea62b (patch) | |
tree | 57a9a9970c00ec77baecab7e154ef7dfcef863fe /Bugzilla/Auth/Verify.pm | |
parent | a6f98de0d4e842351222b0173a1fff151da8738e (diff) | |
download | bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz |
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'Bugzilla/Auth/Verify.pm')
-rw-r--r-- | Bugzilla/Auth/Verify.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Bugzilla/Auth/Verify.pm b/Bugzilla/Auth/Verify.pm index dbad1e9a7..19d8dcc9e 100644 --- a/Bugzilla/Auth/Verify.pm +++ b/Bugzilla/Auth/Verify.pm @@ -69,7 +69,7 @@ sub create_or_update_user { # passed only a username, and that username doesn't exist already. if ($username && !$username_user_id && !$extern_user_id) { validate_email_syntax($username) - || return { failure => AUTH_ERROR, + || return { failure => AUTH_ERROR, error => 'auth_invalid_email', details => {addr => $username} }; # Usually we'd call validate_password, but external authentication @@ -79,8 +79,8 @@ sub create_or_update_user { # XXX Theoretically this could fail with an error, but the fix for # that is too involved to be done right now. - my $user = Bugzilla::User->create({ - login_name => $username, + my $user = Bugzilla::User->create({ + login_name => $username, cryptpassword => $password, realname => $real_name}); $username_user_id = $user->id; @@ -138,8 +138,8 @@ Bugzilla::Auth::Verify - An object that verifies usernames and passwords. =head1 DESCRIPTION -Bugzilla::Auth::Verify provides the "Verifier" part of the Bugzilla -login process. (For details, see the "STRUCTURE" section of +Bugzilla::Auth::Verify provides the "Verifier" part of the Bugzilla +login process. (For details, see the "STRUCTURE" section of L<Bugzilla::Auth>.) It is mostly an abstract class, requiring subclasses to implement @@ -221,7 +221,7 @@ Returns: Nothing. =head1 INFO METHODS These are methods that describe the capabilities of this object. -These are all no-parameter methods that return either C<true> or +These are all no-parameter methods that return either C<true> or C<false>. =over 4 |