diff --git a/src/user.js b/src/user.js index 871c20ced8..0162e58cc5 100644 --- a/src/user.js +++ b/src/user.js @@ -209,6 +209,11 @@ var bcrypt = require('bcryptjs'), } else { user.hasPassword = false; } + + if (user.picture === user.uploadedpicture) { + // Append relative url + user.picture = nconf.get('relative_path') + user.picture; + } } });