Skip to content

Commit d527832

Browse files
franticticktickjzheaux
authored andcommitted
Fix assertion message in DefaultGenerateOneTimeTokenRequestResolver
Signed-off-by: Max Batischev <[email protected]>
1 parent cb16f48 commit d527832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/org/springframework/security/web/authentication/ott/DefaultGenerateOneTimeTokenRequestResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public GenerateOneTimeTokenRequest resolve(HttpServletRequest request) {
5151
* @param expiresIn one-time token expiration time
5252
*/
5353
public void setExpiresIn(Duration expiresIn) {
54-
Assert.notNull(expiresIn, "expiresAt cannot be null");
54+
Assert.notNull(expiresIn, "expiresIn cannot be null");
5555
this.expiresIn = expiresIn;
5656
}
5757

0 commit comments

Comments
 (0)