projects
/
Pman.BAdmin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
630e719
)
Pman.Login.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:23:37 +0000
(10:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:23:37 +0000
(10:23 +0800)
Pman.Login.js
patch
|
blob
|
history
diff --git
a/Pman.Login.js
b/Pman.Login.js
index
c6c2842
..
58c773e
100644
(file)
--- a/
Pman.Login.js
+++ b/
Pman.Login.js
@@
-75,6
+75,17
@@
Pman.Login = new Roo.util.Observable({
var _this = this;
if (!res.data.id) { // id=0 == login failure.
+
+ if(window.location.pathname.substr(baseURL.length).match(/\/PasswordReset\//)){
+ Pman.Dialog.BAdminPasswordReset.show({}, function(){
+ window.location.href = baseURL;
+ });
+
+ return;
+ }
+
+
+
return Pman.Dialog.Login.show(
{},
function(data) {