ui: login: fix another bogus gettext usage
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a190979c04
commit
85b6c4ead4
@ -184,12 +184,11 @@ Ext.define('PBS.LoginView', {
|
||||
method: 'POST',
|
||||
failure: function(response) {
|
||||
loginForm.unmask();
|
||||
let error = response.htmlStatus;
|
||||
Ext.MessageBox.alert(
|
||||
gettext('Error'),
|
||||
gettext('Login failed. Please try again<br>Error: ' + response.htmlStatus),
|
||||
function() {
|
||||
window.location = redirect_url;
|
||||
},
|
||||
gettext('OpenID login failed, please try again') + `<br>${error}`,
|
||||
() => { window.location = redirectURL; },
|
||||
);
|
||||
},
|
||||
success: function(response, options) {
|
||||
|
Loading…
Reference in New Issue
Block a user