mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
make config class and separate migrations script
This commit is contained in:
@@ -127,7 +127,7 @@ export async function login(
|
||||
|
||||
if (
|
||||
!existingUser.emailVerified &&
|
||||
config.flags?.require_email_verification
|
||||
config.getRawConfig().flags?.require_email_verification
|
||||
) {
|
||||
return response<LoginResponse>(res, {
|
||||
data: { emailVerificationRequired: true },
|
||||
|
||||
Reference in New Issue
Block a user