Curating usernames in sign-up and stash load tool.
This commit is contained in:
@@ -120,7 +120,7 @@ async function load() {
|
||||
|
||||
const user = await knex('users')
|
||||
.select('id')
|
||||
.where('username', stash.username)
|
||||
.where('username', stash.username.trim())
|
||||
.first();
|
||||
|
||||
if (!user) {
|
||||
|
||||
Reference in New Issue
Block a user