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
1 changed files with 6 additions and 0 deletions

View File

@ -1507,6 +1507,12 @@
else {
$('.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){