mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-23 23:20:57 +03:00
Add user's name to UserMenu
This commit is contained in:
parent
7fbdcf8ddc
commit
fd1604b1d2
@ -70,6 +70,13 @@ const authProvider = {
|
||||
const role = localStorage.getItem('role')
|
||||
return role ? Promise.resolve(role) : Promise.reject()
|
||||
},
|
||||
|
||||
getIdentity: () => {
|
||||
return {
|
||||
id: localStorage.getItem('username'),
|
||||
fullName: localStorage.getItem('name'),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
const removeItems = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user