gui: add load mask during webauthn api calls
so that if we run into the 3s delay due to the wrong password the window is properly masked Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
7ad33e8052
commit
758a827c2d
@ -58,6 +58,8 @@ Ext.define('PBS.window.AddWebauthn', {
|
||||
let userid = values.user;
|
||||
delete values.user;
|
||||
|
||||
me.getView().mask(gettext('Please wait...'), 'x-mask-loading');
|
||||
|
||||
try {
|
||||
let register_response = await PBS.Async.api2({
|
||||
url: `/api2/extjs/access/tfa/${userid}`,
|
||||
|
Loading…
Reference in New Issue
Block a user