projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e538ec8
)
DataObjects/Person.php
author
Chris
<chris@roojs.com>
Wed, 6 Mar 2013 05:51:06 +0000
(13:51 +0800)
committer
Chris
<chris@roojs.com>
Wed, 6 Mar 2013 05:51:06 +0000
(13:51 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
a58d5b5
..
aba1c35
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-368,6
+368,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
if (substr($this->passwd,0,1) == '$') {
print_r(trim($val));
+ $val = trim($val);
print_r(crypt($val,$this->passwd));
return crypt($val,$this->passwd) == $this->passwd ;
}