Signup working with new db

This commit is contained in:
metacryst
2025-11-23 22:16:53 -06:00
parent c3ed5ac5ac
commit 8c7ed68975
8 changed files with 98 additions and 67 deletions

View File

@@ -49,11 +49,7 @@ export default class Database {
}
}
generateUserID() {
let id = this.labels["User"].length + 1;
while (this.get.user(`user-${id}`)) {
id++;
}
return `user-${id}`; // O(1) most of the time
saveData() {
}
}