Pman.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:19:29 +0000 (10:19 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 02:19:29 +0000 (10:19 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index de2c476..c2b3e58 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -79,7 +79,12 @@ Pman = new Roo.Document(
             Roo.state.Manager.setProvider(new Roo.state.CookieProvider());
             Roo.bootstrap.Tooltip.init(); 
 
-             
+            if(window.location.pathname.substr(baseURL.length).match(/\/PasswordReset\//)){
+                Pman.Dialog.BAdminPasswordReset.show({}, function(){
+                    window.location.href = baseURL;
+                });
+            return;
+        }
             // reset password!!!!
             /*
             if (showNewPass.length) {