Remove tokenScopes

decided that the UI won't use this any more and will just the admin flag
This commit is contained in:
Girish Ramakrishnan
2018-08-03 10:07:21 -07:00
parent ce9fc7b3f7
commit fba70d888b
3 changed files with 1 additions and 8 deletions
-1
View File
@@ -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