From 3a7381c0d20f8fe3a4a174b1c58e61540cfdb071 Mon Sep 17 00:00:00 2001 From: Halali Date: Fri, 21 Sep 2018 14:48:12 +0200 Subject: [PATCH] fix for not able to login when changeing from basic to form login type --- views/settings.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/settings.tpl b/views/settings.tpl index 392246f29..3ccedffa8 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -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){