Make tokenScope plural

This commit is contained in:
Girish Ramakrishnan
2018-06-18 15:10:02 -07:00
parent 6cd0601629
commit ff73bc121f
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ function get(req, res, next) {
username: req.user.username,
email: req.user.email,
fallbackEmail: req.user.fallbackEmail,
tokenScope: req.authInfo.authorizedScopes,
tokenScopes: req.authInfo.authorizedScopes,
displayName: req.user.displayName,
twoFactorAuthenticationEnabled: req.user.twoFactorAuthenticationEnabled
}));