summaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-05-10 14:09:08 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-05-11 10:35:58 +0200
commitfc1987b8c4c3b248ab41d179bbd60f4b589194af (patch)
tree8c0666d87c0bdf3f1dedc8cfcfc0abafe715b54b /core/src/OC
parent9d66e91f0bdb51beca38a4e7b69666a993de9d6e (diff)
downloadnextcloud-server-fc1987b8c4c3b248ab41d179bbd60f4b589194af.tar.gz
nextcloud-server-fc1987b8c4c3b248ab41d179bbd60f4b589194af.zip
Revert displayName casing
Regression from 278c281cc9c03ad060ac6a91784058066411c7a8 Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/currentuser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/OC/currentuser.js b/core/src/OC/currentuser.js
index f1ab140376d..061abba89d6 100644
--- a/core/src/OC/currentuser.js
+++ b/core/src/OC/currentuser.js
@@ -22,7 +22,7 @@
const rawUid = document
.getElementsByTagName('head')[0]
.getAttribute('data-user')
-const displayname = document
+const displayName = document
.getElementsByTagName('head')[0]
.getAttribute('data-user-displayname')
@@ -31,6 +31,6 @@ export const currentUser = rawUid !== undefined ? rawUid : false
export const getCurrentUser = () => {
return {
uid: currentUser,
- displayname,
+ displayName,
}
}