Closed aeq-dev closed 2 years ago
Could you send a PR? Kinda busy.
This fix was simple: I changed numeric
for alpha_num
.
TOTP Codes are entirely numeric. Recovery Codes are alphanumeric. In any case, you can change the Recovery Code generation in your model by overriding the generateRecoveryCodes()
method.
Hello, I've just detected a bug when we use recovery code in login instead of TOTP, the reason is the rule validation here :
You need to remove 'numeric' to get true for recovery code. Regards