mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
add migration for 1.6.0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user