Revert displayName casing

Regression from 278c281cc9

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Joas Schilling 2019-05-10 14:09:08 +02:00 committed by Roeland Jago Douma
parent 9d66e91f0b
commit fc1987b8c4
No known key found for this signature in database
GPG key ID: F941078878347C0C
5 changed files with 2 additions and 2 deletions

BIN
core/js/dist/login.js vendored

Binary file not shown.

Binary file not shown.

BIN
core/js/dist/main.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -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,
}
}