Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.js
index b25bde0..7d268f2 100644 (file)
@@ -10,8 +10,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
  _strings : {
   'e2c9d024b79dfb48b42a7807206c6aed' :"Verify New IP Access",
   'd41d8cd98f00b204e9800998ecf8427e' :"",
-  'b945ed1d61d8edbe16a1192ad6d2fd58' :"Please enter a memorable password for logging into your application",
-  'ee7ad62ad69b9ab5f25d273e4e0a1736' :"Your Username",
+  'f6039d44b29456b20f8f373155ae4973' :"Username",
   '51eea3dc60ae3a0b1bb8188bc6337dc2' :"enter password",
   '1849ffc8731b5e74ae6157c91ba73575' :"Please confirm your password",
   'd71940f24ee38ee09f6e06b908480bcf' :"Resend email",
@@ -47,10 +46,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
     cls : 'enable-overflow',
     title : _this._strings['e2c9d024b79dfb48b42a7807206c6aed'] /* Verify New IP Access */,
     listeners : {
-     render : function (_self)
-      {
-          _this.modal = _self;
-      },
      show : function (_self)
       {
           var path = window.location.pathname.split('/');
@@ -69,7 +64,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
                   _to_data : 1
               }, 
               success : function(res) {
-                  //_this.dialog.show();
                   Roo.log(res);
                   return;
                   _this.form.setValues(res.data);
@@ -170,7 +164,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)
         {
@@ -238,7 +232,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
           items  : [
            {
             xtype : 'Input',
-            fieldLabel : _this._strings['ee7ad62ad69b9ab5f25d273e4e0a1736'] /* Your Username */,
+            fieldLabel : _this._strings['f6039d44b29456b20f8f373155ae4973'] /* Username */,
             labelAlign : 'top',
             name : 'email',
             readOnly : true,
@@ -264,15 +258,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
           xtype : 'Column',
           xs : 12,
           xns : Roo.bootstrap,
-          '|xns' : 'Roo.bootstrap',
-          items  : [
-           {
-            xtype : 'FieldLabel',
-            html : _this._strings['b945ed1d61d8edbe16a1192ad6d2fd58'] /* Please enter a memorable password for logging into your application */,
-            xns : Roo.bootstrap,
-            '|xns' : 'Roo.bootstrap'
-           }
-          ]
+          '|xns' : 'Roo.bootstrap'
          }
         ]
        },
@@ -368,7 +354,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
            {
             xtype : 'Input',
             inputType : 'hidden',
-            name : 'verify_key',
+            name : 'authorized_key',
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
            }