forked from forks/microblog.pub
Add return type to hmac_sha256
This commit is contained in:
parent
2151733e4f
commit
a2254f2674
1 changed files with 1 additions and 1 deletions
|
@ -257,5 +257,5 @@ def verify_csrf_token(
|
|||
return None
|
||||
|
||||
|
||||
def hmac_sha256():
|
||||
def hmac_sha256() -> hmac.HMAC:
|
||||
return hmac.new(CONFIG.secret.encode(), digestmod=hashlib.sha256)
|
||||
|
|
Loading…
Reference in a new issue