projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e2f815
)
sync
author
john
<john@roojs.com>
Tue, 9 Oct 2018 09:59:26 +0000
(17:59 +0800)
committer
john
<john@roojs.com>
Tue, 9 Oct 2018 09:59:26 +0000
(17:59 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
558b8e1
..
3a7dc7a
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-314,7
+314,10
@@
class Pman_Login extends Pman
exit;
}
exit;
}
- if(!empty($u->oath_key) && !$u->checkTwoFactorAuthentication(trim($_REQUEST['oath_password'],"\x10"))){
+ if(
+ !empty($u->oath_key) &&
+ !$u->checkTwoFactorAuthentication($_REQUEST['oath_password'])
+ ){
$this->jerror('LOGIN-BAD', 'You typed the wrong Username or Password (3)');
exit;
}
$this->jerror('LOGIN-BAD', 'You typed the wrong Username or Password (3)');
exit;
}