mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 00:55:48 +02:00
ability to disable email verification requirement
This commit is contained in:
parent
50e1a7abe1
commit
29b848fd5d
7 changed files with 107 additions and 53 deletions
|
@ -118,5 +118,9 @@ process.env.NEXT_PUBLIC_INTERNAL_API_BASE_URL = new URL(
|
|||
`http://${parsedConfig.data.server.internal_hostname}:${parsedConfig.data.server.external_port}`
|
||||
).href;
|
||||
process.env.NEXT_PUBLIC_APP_NAME = parsedConfig.data.app.name;
|
||||
process.env.NEXT_PUBLIC_FLAGS_EMAIL_VERIFICATION_REQUIRED = parsedConfig.data
|
||||
.flags?.require_email_verification
|
||||
? "true"
|
||||
: "false";
|
||||
|
||||
export default parsedConfig.data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue