Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression after renaming
*algorithm
variables
Fixes #75 (PR #76). * * * After 6592be2 (#68) , if URI contains the `algorithm` optional parameter, e.g. ``` otpauth://totp/ACME%20Co:[email protected]?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30 ``` the application will raise an error: ``` [2023-12-21 09:42:02,769] DEBUG:otp:352: 1 validation error for Uri schema_ -> TOTPUriSchema -> parameters -> algorithm extra fields not permitted (type=value_error.extra) ```
- Loading branch information