Changed users table to not be case sensitive.. need a reset.
This commit is contained in:
parent
bf71e71d0e
commit
e5556e24ff
2
users.c
2
users.c
@ -84,7 +84,7 @@ int inst_user(struct user_record *user) {
|
|||||||
int rc;
|
int rc;
|
||||||
char *create_sql = "CREATE TABLE IF NOT EXISTS users ("
|
char *create_sql = "CREATE TABLE IF NOT EXISTS users ("
|
||||||
"Id INTEGER PRIMARY KEY,"
|
"Id INTEGER PRIMARY KEY,"
|
||||||
"loginname TEXT,"
|
"loginname TEXT COLLATE NOCASE,"
|
||||||
"password TEXT,"
|
"password TEXT,"
|
||||||
"firstname TEXT,"
|
"firstname TEXT,"
|
||||||
"lastname TEXT,"
|
"lastname TEXT,"
|
||||||
|
Reference in New Issue
Block a user