Allows the Ecto field names otp_secret and otp_last to be configured by passing :otp_secret and :otp_last options into verify/4.
This allows the field names to differ from the defaults -- and also allows more than one OTP context per user in cases where users might be authenticated into different contexts.
Allows the Ecto field names
otp_secret
andotp_last
to be configured by passing:otp_secret
and:otp_last
options intoverify/4
.This allows the field names to differ from the defaults -- and also allows more than one OTP context per user in cases where users might be authenticated into different contexts.