projects
/
dotclear.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bypass password check.
[dotclear.git]
/
class.xorg.auth.php
diff --git
a/class.xorg.auth.php
b/class.xorg.auth.php
index
c1e9b82
..
989e14d
100644
(file)
--- a/
class.xorg.auth.php
+++ b/
class.xorg.auth.php
@@
-125,6
+125,11
@@
class xorgAuth extends dcAuth {
return parent::check($permissions, $blog_id);
}
+ public function checkPassword($pwd) {
+ $this->buildFromSession();
+ return !empty($this->user_id);
+ }
+
public function allowPassChange() {
return false;
}