feat: enhance authentication and settings UI

This commit is contained in:
shuaiplus authored and Shuai committed 2026-03-02 00:10:44 +08:00
1 parent 0cf8028087
commit 651eb69bd6
15 files changed
+674 -166

No files matched your search

+5
View File
@@ -392,6 +392,11 @@ export class StorageService {
return (result.meta.changes ?? 0) > 0;
}
async deleteAllInvites(): Promise<number> {
const result = await this.db.prepare('DELETE FROM invites').run();
return Number(result.meta.changes ?? 0);
}
async createAuditLog(log: AuditLog): Promise<void> {
await this.db
.prepare(