mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 12:14:13 +00:00
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…
x
Reference in New Issue
Block a user