Skip to content

Commit

Permalink
Fixed assertion in DefaultGenerateOneTimeTokenRequestResolver.
Browse files Browse the repository at this point in the history
Signed-off-by: Max Batischev <[email protected]>
  • Loading branch information
franticticktick committed Jan 30, 2025
1 parent cb16f48 commit a7af2f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public GenerateOneTimeTokenRequest resolve(HttpServletRequest request) {
* @param expiresIn one-time token expiration time
*/
public void setExpiresIn(Duration expiresIn) {
Assert.notNull(expiresIn, "expiresAt cannot be null");
Assert.notNull(expiresIn, "expiresIn cannot be null");
this.expiresIn = expiresIn;
}

Expand Down

0 comments on commit a7af2f2

Please sign in to comment.