mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +02:00
Fix bug in sms email validation
This commit is contained in:
parent
931ccfba1f
commit
9f965c8531
@ -105,7 +105,7 @@ func (s *SMS) Setup() error {
|
||||
}
|
||||
|
||||
if s.Authboss.Config.Modules.TwoFactorEmailAuthRequired {
|
||||
emailVerify, err := twofactor.SetupEmailVerify(s.Authboss, "totp", "/2fa/totp/setup")
|
||||
emailVerify, err := twofactor.SetupEmailVerify(s.Authboss, "sms", "/2fa/sms/setup")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user