mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Not logging request method, keeping pw gen values if they are greater than max
This commit is contained in:
parent
68447ba0c8
commit
ca645404e5
2 changed files with 5 additions and 6 deletions
|
@ -264,6 +264,10 @@ function setup(data: SubmoduleData): any {
|
|||
return
|
||||
}
|
||||
|
||||
if (user.avaiblePWRequests >= maxPWCount) {
|
||||
return
|
||||
}
|
||||
|
||||
logger.Log(
|
||||
`Setting avaible PW-s for user #${user.id}: ${user.avaiblePWRequests} -> ${maxPWCount}`,
|
||||
logger.GetColor('cyan')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue