aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-11 16:53:00 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-11 16:53:00 +0200
commit26ac7f0f1d532d27b6e0ebd74b1a0e44f9d5a239 (patch)
tree5cc2a64152150ee44046280471c1116f31866a8f /core
parent6b9cf8d2d546174cd212d9c9947d4eb253ff7384 (diff)
downloadnextcloud-server-26ac7f0f1d532d27b6e0ebd74b1a0e44f9d5a239.tar.gz
nextcloud-server-26ac7f0f1d532d27b6e0ebd74b1a0e44f9d5a239.zip
get rid of some js errors on the login screen
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index dc8345545a6..dd3f3b2ac33 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -27,7 +27,7 @@ t.cache={};
OC={
webroot:oc_webroot,
- currentUser:oc_current_user,
+ currentUser:(typeof oc_current_user!=='undefined')?oc_current_user:false,
coreApps:['files','admin','log','search','settings','core','3rdparty'],
/**
* get an absolute url to a file in an appen