summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 17:38:41 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit3517d8a6687cd37cb8c9009a78f16071d652254a (patch)
tree135535be087ee773e710e0c6d762283a3dfbb902 /token.cgi
parent873074873fe5e27e853e5ce3d83b078280a29c2a (diff)
downloadbugzilla-3517d8a6687cd37cb8c9009a78f16071d652254a.tar.gz
bugzilla-3517d8a6687cd37cb8c9009a78f16071d652254a.tar.xz
almost working
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 990040050..0708a5728 100755
--- a/token.cgi
+++ b/token.cgi
@@ -217,7 +217,7 @@ sub changePassword {
reason => 'Setting your password',
password => $password,
token => $token,
- postback => {
+ postback => {
action => 'token.cgi',
token_field => 't',
fields => {
@@ -450,6 +450,7 @@ sub mfa_event_from_token {
# create user from token
my ($user_id) = Bugzilla::Token::GetTokenData($token);
+ warn "$user_id id from $token\n";
my $user = Bugzilla::User->check({ id => $user_id, cache => 1 });
# sanity check