Deliver the user account source in the profile api

This commit is contained in:
Johannes Zellner
2019-08-30 13:36:37 +02:00
parent 6e878faa8b
commit f25d5b3304

View File

@@ -27,7 +27,8 @@ function get(req, res, next) {
fallbackEmail: req.user.fallbackEmail,
displayName: req.user.displayName,
twoFactorAuthenticationEnabled: req.user.twoFactorAuthenticationEnabled,
admin: req.user.admin
admin: req.user.admin,
source: req.user.source
}));
}