auth additions and website layout
ci / docker_image (push) Successful in 1m28s
ci / deploy (push) Successful in 27s

This commit is contained in:
2025-01-16 22:20:39 -06:00
parent f0fc8b09ab
commit cfde960e63
12 changed files with 110 additions and 40 deletions
+1 -2
View File
@@ -6,9 +6,8 @@ export async function createUser(username: string, password: string): Promise<vo
const response = await sql`
INSERT INTO users (username, password_hash, perms)
VALUES (${username}, ${password_hash}, 2);
VALUES (${username}, ${password_hash}, 3);
`;
console.log(response);
}
export async function checkUserCreds(username: string, password: string): Promise<number> {