1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

fix for not able to login when changeing from basic to form login type

This commit is contained in:
Halali 2018-09-21 14:48:12 +02:00
parent 0551f2d0b8
commit 3a7381c0d2

View file

@ -1507,6 +1507,12 @@
else { else {
$('.auth_option').show(); $('.auth_option').show();
}; };
if ($('#settings_auth_type').val() == "form") {
$('#settings_auth_password').val('');
}
else {
$('#settings_auth_password').val('{{settings_auth[2]}}');
};
}); });
$('#settings_languages').dropdown('setting', 'onAdd', function(val, txt){ $('#settings_languages').dropdown('setting', 'onAdd', function(val, txt){