Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
var me = this;
var view = me.getView();
view.el.mask(gettext('Please wait...'), 'x-mask-loading');
- var params = { response: res };
Proxmox.Utils.API2Request({
url: '/api2/extjs/access/tfa',
- params: params,
+ params: {
+ response: res,
+ },
method: 'POST',
timeout: 5000, // it'll delay both success & failure
success: function(resp, opts) {
},
'button[reference=loginButton]': {
click: 'onLogon',
- },
+ },
'#': {
show: function() {
var me = this;