From f25d5b3304e7df4a7aebc6f2c231c22134bf8a30 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 30 Aug 2019 13:36:37 +0200 Subject: [PATCH] Deliver the user account source in the profile api --- src/routes/profile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/profile.js b/src/routes/profile.js index cd4eb273b..00ab1ea3e 100644 --- a/src/routes/profile.js +++ b/src/routes/profile.js @@ -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 })); }