projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bd8eb
)
DataObjects/Core_person.php
author
edward
<edward@roojs.com>
Thu, 2 Nov 2017 11:51:56 +0000
(19:51 +0800)
committer
edward
<edward@roojs.com>
Thu, 2 Nov 2017 11:51:56 +0000
(19:51 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
403ac3d
..
5f5cded
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-522,7
+522,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
function checkPassword($val)
{
if(!empty($this->oath_key)){
- return $this->checkTwoFactorAuthentication();
+ return $this->checkTwoFactorAuthentication(
$val
);
}
if (substr($this->passwd,0,1) == '$') {
@@
-1354,4
+1354,9
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
return "data:image/png;base64,{$base64}";
}
+ function checkTwoFactorAuthentication($val)
+ {
+
+ }
+
}