fix(user): send profileUI for locked user

pull/18022/head
Mrugesh Mohapatra 2018-08-15 15:30:27 +05:30 committed by Stuart Taylor
parent 6b8061fa9a
commit 336776ccf6
1 changed files with 1 additions and 0 deletions

View File

@ -871,6 +871,7 @@ module.exports = function(User) {
if (isLocked) {
return {
isLocked,
profileUI,
username
};
}