aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/users.js')
-rw-r--r--controllers/users.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/users.js b/controllers/users.js
index 22a1cc6..b91317b 100644
--- a/controllers/users.js
+++ b/controllers/users.js
@@ -168,6 +168,7 @@ exports.postProjectParticipants = function(req, res) {
console.log('fant ingen brukere med den eposten. må invitere og stasj');
var newUser = new User();
newUser.email = mailAddress;
+ newUser.name = mailAddress + ' <span class="muted">(ikke registrert)</span>';
newUser.status = 1;
newUser.password = newUser.generateRandomToken(32);
newUser.randomToken = newUser.generateRandomToken(10, true);