From 0d68049bcac243ecd27b0007be9ee2867efbdfdd Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 12 Apr 2017 21:38:04 +0200 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 06ac773..3687f64 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