diff options
author | Dylan William Hardison <dylan@mozilla.com> | 2015-05-11 15:58:56 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2015-05-11 15:58:56 +0200 |
commit | f2813b646a8d325246aa7990ac92f9f3db362389 (patch) | |
tree | 591cc6c1fb4f587f6d5fc67d3d06dc2ebf8d8c98 /extensions/GitHubAuth/lib | |
parent | a7a5da901f048d696582c3e6d4b67aee0d91f3d2 (diff) | |
download | bugzilla-f2813b646a8d325246aa7990ac92f9f3db362389.tar.gz bugzilla-f2813b646a8d325246aa7990ac92f9f3db362389.tar.xz |
Bug 1163324: Fix copy-pasta error in GitHubAuth
Diffstat (limited to 'extensions/GitHubAuth/lib')
-rw-r--r-- | extensions/GitHubAuth/lib/Login.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/GitHubAuth/lib/Login.pm b/extensions/GitHubAuth/lib/Login.pm index c83456274..cdf3eaa61 100644 --- a/extensions/GitHubAuth/lib/Login.pm +++ b/extensions/GitHubAuth/lib/Login.pm @@ -142,9 +142,9 @@ sub _get_login_info_from_email { my $key = Bugzilla::Extension::GitHubAuth::Client->get_email_key($github_email); unless ($github_email_key eq $key) { - return { failure => AUTH_ERROR, + return { failure => AUTH_ERROR, user_error => 'github_invalid_email', - { email => $github_email }}; + details => { email => $github_email }}; } my $user = Bugzilla::User->new({name => $github_email, cache => 1}); |