From cc9928bfe5ef0b4ebc0ba671fc0b1660654057d1 Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 17 Mar 2017 14:48:02 +0100 Subject: InfCloud: Allow empty passwords --- radicale_web/web/infcloud/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'radicale_web/web/infcloud/main.js') diff --git a/radicale_web/web/infcloud/main.js b/radicale_web/web/infcloud/main.js index 23ebfab..6a9f248 100644 --- a/radicale_web/web/infcloud/main.js +++ b/radicale_web/web/infcloud/main.js @@ -788,7 +788,7 @@ function loadConfig() // check username and password against the server and create config from globalNetworkCheckSettings if(typeof globalNetworkCheckSettings!='undefined' && globalNetworkCheckSettings!=null) { - if(globalLoginUsername=='' || globalLoginPassword=='') + if(globalLoginUsername=='') { $('#LoginPage').fadeTo(500, 1, function(){if(typeof globalDemoMode=='undefined') $('[data-type="system_username"]').focus()}); $('#LoginLoader').fadeOut(1200); @@ -824,7 +824,7 @@ function loadConfig() // load the configuration XML(s) from the network if(typeof globalNetworkAccountSettings!='undefined' && globalNetworkAccountSettings!=null) { - if(globalLoginUsername=='' || globalLoginPassword=='') + if(globalLoginUsername=='') { $('#LoginPage').fadeTo(500, 1, function(){if(typeof globalDemoMode=='undefined') $('[data-type="system_username"]').focus()}); $('#LoginLoader').fadeOut(1200); -- cgit