mirror of https://github.com/veypi/OneAuth.git
fix(api/verification): handle max_daily_count config correctly
Fix the logic for code.max_daily_count setting to correctly handle: - 0: Disable verification code service entirely - -1: No limit on daily sends - >0: Limit daily sends to the specified number Previously both 0 and -1 were treated as unlimited, which was incorrect. The documentation states 0 should disable the service.master
parent
69efc4284b
commit
241d22dba6
Loading…
Reference in New Issue