Autoregister on comment

This commit is contained in:
David Hoppenbrouwers
2022-10-15 22:35:47 +02:00
parent 17844fa11c
commit eafa141a2f
5 changed files with 82 additions and 30 deletions

View File

@@ -432,7 +432,7 @@ class DB:
return c.execute('''
select user_id
from users
where name = ?
where name = lower(?)
''',
(username,)
).fetchone()