Skip to content

Commit

Permalink
Merge branch 'main' into avoid-fixation-attacks-by-renewing-session-id
Browse files Browse the repository at this point in the history
  • Loading branch information
type1fool authored Jul 11, 2024
2 parents 05046f9 + 38a1253 commit 0edafc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/contexts/identity.ex
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ defmodule <%= inspect @app_pascal_case %>.Identity do
@doc """
Deletes all `UserToken`s which have expired.
"""
@spec delete_all_expired_tokens :: {pos_integer(), term()}
@spec delete_all_expired_tokens :: {non_neg_integer(), term()}
def delete_all_expired_tokens do
expiration_timestamp = get_expiration_timestamp()

Expand Down

0 comments on commit 0edafc2

Please sign in to comment.