1
0
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:
Aaron L 2018-11-04 21:17:54 -08:00
parent 931ccfba1f
commit 9f965c8531

View File

@ -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
}