mirror of https://github.com/status-im/codimd.git
feat: change guest random nameing to chance.animal()
Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
e2b9ea8f15
commit
66fa2afaff
|
@ -580,7 +580,7 @@ function updateUserData (socket, user) {
|
||||||
user.login = true
|
user.login = true
|
||||||
} else {
|
} else {
|
||||||
user.userid = null
|
user.userid = null
|
||||||
user.name = 'Guest ' + chance.last()
|
user.name = 'Guest ' + chance.animal()
|
||||||
user.login = false
|
user.login = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue