projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f964ea1
)
Pman/Login.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:31:23 +0000
(10:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:31:23 +0000
(10:31 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
dc84b56
..
5b58247
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-257,12
+257,19
@@
class Pman_Login extends Pman
return $this->passwordRequest($_REQUEST['passwordRequest']);
}
return $this->passwordRequest($_REQUEST['passwordRequest']);
}
+ if (!empty($_REQUEST['ResetPassword'])) {
+ if (empty($_REQUEST['id']) ||
+ empty($_REQUEST['ts']) ||
+ empty($_REQUEST['key']) ||
+ empty($_REQUEST['key']) ||
+
+ $this->resetPassword()
+ }
-
-
- //if (!empty($_REQUEST['changePassword'])) {
- // return $this->changePassword($_REQUEST);
- //}
+ // this is 'classic' change password...
+ if (!empty($_REQUEST['changePassword'])) {
+ return $this->changePassword($_REQUEST);
+ }
// login attempt..
// login attempt..