add migration for 1.6.0

This commit is contained in:
miloschwartz
2025-06-19 15:58:05 -04:00
parent 1bf2e23f5d
commit f300838f8e
3 changed files with 37 additions and 2 deletions

View File

@@ -211,6 +211,10 @@ export async function validateOidcCallback(
logger.debug("User email", { email });
logger.debug("User name", { name });
if (email) {
email = email.toLowerCase();
}
const [existingUser] = await db
.select()
.from(users)