summaryrefslogtreecommitdiffstats
path: root/extensions/GitHubAuth/lib
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@mozilla.com>2015-05-11 15:58:56 +0200
committerDylan William Hardison <dylan@hardison.net>2015-05-11 15:58:56 +0200
commitf2813b646a8d325246aa7990ac92f9f3db362389 (patch)
tree591cc6c1fb4f587f6d5fc67d3d06dc2ebf8d8c98 /extensions/GitHubAuth/lib
parenta7a5da901f048d696582c3e6d4b67aee0d91f3d2 (diff)
downloadbugzilla-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.pm4
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});