Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 03:48:41 +0000 (11:48 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 03:48:41 +0000 (11:48 +0800)
Pman.Dialog.VerifyAccess.js

Pman.Dialog.VerifyAccess.bjs
Pman.Dialog.VerifyAccess.js

index 74d6e92..358b1a0 100644 (file)
@@ -32,7 +32,7 @@
       "actioncomplete" : "function (_self, action)\n{\n    if (action.type == 'setdata') {\n    \n        _this.form.findField('password').focus();\n        \n        return;\n    }\n    if (action.type == 'load') {\n        \n        return;\n    }\n    if (action.type =='submit') {\n        \n        _this.dialog.hide();\n        \n        Roo.get(document.body).mask('Start your Application');\n        \n        setTimeout(function() {\n            window.location.href = baseURL;\n        }, 500); \n        \n        return;\n    }\n    \n}",
       "render" : "function (_self,e)\n{\n    _this.form = _self;\n    \n}"
      },
-     "$ string url" : "baseURL + '/Register/Confirm'",
+     "$ string url" : "baseURL + '/Core/VerifyAccess'",
      "Boolean errorMask" : true,
      "xtype" : "Form",
      "$ xns" : "Roo.bootstrap",
            "$ xns" : "Roo.bootstrap"
           },
           {
-           "String name" : "verify_key",
+           "String name" : "authorized_key",
            "xtype" : "Input",
            "String inputType" : "hidden",
            "$ xns" : "Roo.bootstrap"
index 566e887..288215b 100644 (file)
@@ -165,7 +165,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
       xtype : 'Form',
       errorMask : true,
       loadMask : false,
-      url : baseURL + '/Register/Confirm',
+      url : baseURL + '/Core/VerifyAccess',
       listeners : {
        actioncomplete : function (_self, action)
         {
@@ -363,7 +363,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
            {
             xtype : 'Input',
             inputType : 'hidden',
-            name : 'verify_key',
+            name : 'authorized_key',
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
            }