projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66cc670
)
Pman.Dialog.Image.bjs
author
Chris
<chris@roojs.com>
Wed, 6 Mar 2013 05:38:22 +0000
(13:38 +0800)
committer
Chris
<chris@roojs.com>
Wed, 6 Mar 2013 05:38:22 +0000
(13:38 +0800)
Pman.Dialog.Image.js
DataObjects/Person.php
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
e9670bd
..
e07d116
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-365,10
+365,12
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
}
function checkPassword($val)
{
- print_r($val);
+
if (substr($this->passwd,0,1) == '$') {
+
return crypt($val,$this->passwd) == $this->passwd ;
}
+ print_r($val);
// old style md5 passwords...- cant be used with courier....
return md5($val) == $this->passwd;
}