aboutsummaryrefslogtreecommitdiff
path: root/radicale_web/web/infcloud/main.js
diff options
context:
space:
mode:
authorUnrud <unrud@openaliasbox.org>2017-04-12 21:38:04 +0200
committerUnrud <unrud@openaliasbox.org>2017-04-12 22:41:18 +0200
commit0d68049bcac243ecd27b0007be9ee2867efbdfdd (patch)
treef13abb8cd0a054ef1bad0b3ff2db4ad0c57fd041 /radicale_web/web/infcloud/main.js
parentInfCloud: Configure (diff)
downloadradicaleinfcloud-0d68049bcac243ecd27b0007be9ee2867efbdfdd.tar.gz
radicaleinfcloud-0d68049bcac243ecd27b0007be9ee2867efbdfdd.tar.bz2
radicaleinfcloud-0d68049bcac243ecd27b0007be9ee2867efbdfdd.zip
InfCloud: Allow empty passwords
Diffstat (limited to 'radicale_web/web/infcloud/main.js')
-rw-r--r--radicale_web/web/infcloud/main.js4
1 files changed, 2 insertions, 2 deletions
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);
bgstack15