Merge pull request #15494 from nextcloud/bugfix/noid/revert-displayName-casing

Revert displayName casing
This commit is contained in:
Roeland Jago Douma 2019-05-11 12:32:21 +02:00 committed by GitHub
commit 05770c7dbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,
}
}