We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d4450c commit 57093baCopy full SHA for 57093ba
src/lib/infrastructure/gateway/env-config-gateway.ts
@@ -156,10 +156,10 @@ class EnvConfigGateway implements EnvConfigGatewayOutputPort {
156
157
async userpassEnabled(): Promise<boolean> {
158
const value = await this.get('ENABLE_USERPASS_LOGIN');
159
- if (value === 'true' || value === 'True' || value === 'TRUE') {
160
- return Promise.resolve(true);
+ if (value === 'false' || value === 'False' || value === 'FALSE') {
+ return Promise.resolve(false);
161
}
162
- return Promise.resolve(false);
+ return Promise.resolve(true);
163
164
165
async ruleActivity(): Promise<string> {
0 commit comments