diff options
Diffstat (limited to 'js/src/u2f.js')
-rw-r--r-- | js/src/u2f.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/js/src/u2f.js b/js/src/u2f.js index b80decc70c..ef0bb803eb 100644 --- a/js/src/u2f.js +++ b/js/src/u2f.js @@ -11,19 +11,19 @@ window.AJAX.registerOnload('u2f.js', function () { if (data.errorCode && data.errorCode !== 0) { switch (data.errorCode) { case 5: - Functions.ajaxShowMessage(Messages.strU2FTimeout, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FTimeout, false, 'error'); break; case 4: - Functions.ajaxShowMessage(Messages.strU2FErrorRegister, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FErrorRegister, false, 'error'); break; case 3: - Functions.ajaxShowMessage(Messages.strU2FInvalidClient, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FInvalidClient, false, 'error'); break; case 2: - Functions.ajaxShowMessage(Messages.strU2FBadRequest, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FBadRequest, false, 'error'); break; default: - Functions.ajaxShowMessage(Messages.strU2FUnknown, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FUnknown, false, 'error'); break; } return; @@ -48,19 +48,19 @@ window.AJAX.registerOnload('u2f.js', function () { if (data.errorCode && data.errorCode !== 0) { switch (data.errorCode) { case 5: - Functions.ajaxShowMessage(Messages.strU2FTimeout, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FTimeout, false, 'error'); break; case 4: - Functions.ajaxShowMessage(Messages.strU2FErrorAuthenticate, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FErrorAuthenticate, false, 'error'); break; case 3: - Functions.ajaxShowMessage(Messages.strU2FInvalidClient, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FInvalidClient, false, 'error'); break; case 2: - Functions.ajaxShowMessage(Messages.strU2FBadRequest, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FBadRequest, false, 'error'); break; default: - Functions.ajaxShowMessage(Messages.strU2FUnknown, false, 'error'); + Functions.ajaxShowMessage(window.Messages.strU2FUnknown, false, 'error'); break; } return; |