Skip to content

Commit

Permalink
fix(authentication): local auth not enabled due to config field typo (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kon14 committed Mar 4, 2022
1 parent 0ec6e45 commit c77382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/authentication/src/handlers/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ export class LocalHandlers {
console.log('sms 2fa not active');
}

if ((config.phoneAuthenticate.enabled) && !errorMessage) {
if ((config.phoneAuthentication.enabled) && !errorMessage) {
// maybe check if verify is enabled in sms module
await this.grpcSdk.waitForExistence('sms');
this.sms = this.grpcSdk.sms!;
Expand Down

0 comments on commit c77382d

Please sign in to comment.