Username check for reserved username is broken
Closed this issue · 2 comments
Brutus5000 commented
As it turns out the check wether a username is reserved after renaming is broken.
now()
should be smaller than change date + x month
if a username is still reserved
bukajsytlos commented
from potential index perspective wouldn't it be better to compare now() - x month < change_date
?
Brutus5000 commented
If we had an index, that might make sense :D
Will change it, maybe we add the index later.