diff --git a/src/routes/profile.js b/src/routes/profile.js index 822aa29ce..ba29db21d 100644 --- a/src/routes/profile.js +++ b/src/routes/profile.js @@ -31,7 +31,8 @@ function get(req, res, next) { fallbackEmail: req.user.fallbackEmail, tokenScopes: req.authInfo.authorizedScopes, displayName: req.user.displayName, - twoFactorAuthenticationEnabled: req.user.twoFactorAuthenticationEnabled + twoFactorAuthenticationEnabled: req.user.twoFactorAuthenticationEnabled, + admin: req.user.admin })); }