mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Admin tools, Authentication: Fix: set analyticsId when creating a new user
This commit is contained in:
committed by
yu-i-i
parent
f71de2eacc
commit
24e2fdaab5
@@ -116,6 +116,7 @@ async function registerNewUser(req, res, next) {
|
||||
}
|
||||
delete req.body.isExternal
|
||||
req.body.password = crypto.randomBytes(32).toString('hex')
|
||||
req.body.analyticsId = crypto.randomUUID()
|
||||
|
||||
let user
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user