rename jwt to user in authentication context, in prepartion for filtering display by user level
This commit is contained in:
1 parent
d5efbe4b18
commit
22d922c699
4 files changed
+26
-18
No files matched your search
@@ -189,7 +189,7 @@ class MenuAppBar extends React.Component {
|
||||
<AccountCircleIcon />
|
||||
</Avatar>
|
||||
</ListItemAvatar>
|
||||
<ListItemText primary={"Signed in as: " + authenticationContext.jwt.username} secondary={ authenticationContext.jwt.admin ? "Admin User" : undefined} />
|
||||
<ListItemText primary={"Signed in as: " + authenticationContext.user.username} secondary={ authenticationContext.isAdmin() ? "Admin User" : undefined} />
|
||||
</ListItem>
|
||||
</List>
|
||||
</CardContent>
|
||||
|
||||
Reference in new issue
Block a user