mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-10-30 22:21:58 +01:00
fix: restore password reset CLI in source and Docker installs (#461)
This commit is contained in:
1 parent
0f55d29298
commit
44d927e768
3 files changed
+69
-1
No files matched your search
@@ -221,7 +221,7 @@ async function resetPassword() {
|
||||
}
|
||||
|
||||
const sqlite = new Database(dbPath);
|
||||
const db = drizzle({ client: sqlite });
|
||||
const db = drizzle({ client: sqlite, schema: { users, accounts, sessions } });
|
||||
|
||||
try {
|
||||
const user = await db.query.users.findFirst({
|
||||
|
||||
Reference in new issue
Block a user