Skip to content

Commit

Permalink
feat: Config option for secure cookies (default false), and user acti…
Browse files Browse the repository at this point in the history
…vation (default false)
  • Loading branch information
jamesread committed Sep 24, 2024
1 parent c7e0b99 commit c7df9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/api/routes/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class AuthController {

const activationRequired = !!process.env.ACTIVATION_REQUIRED;

if (process.envbody.provider === 'LOCAL' && activationRequired) {
if (process.env.provider === 'LOCAL' && activationRequired) {
response.header('activate', 'true');
response.status(200).json({ activate: true });
return;
Expand Down

0 comments on commit c7df9bc

Please sign in to comment.