Remove tokenScopes
decided that the UI won't use this any more and will just the admin flag
This commit is contained in:
@@ -29,7 +29,6 @@ function get(req, res, next) {
|
||||
username: req.user.username,
|
||||
email: req.user.email,
|
||||
fallbackEmail: req.user.fallbackEmail,
|
||||
tokenScopes: req.authInfo.authorizedScopes,
|
||||
displayName: req.user.displayName,
|
||||
twoFactorAuthenticationEnabled: req.user.twoFactorAuthenticationEnabled,
|
||||
admin: req.user.admin
|
||||
|
||||
Reference in New Issue
Block a user