mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-28 18:39:06 +00:00
Fix assertion message in DefaultGenerateOneTimeTokenRequestResolver
Signed-off-by: Max Batischev <mblancer@mail.ru>
This commit is contained in:
parent
b98ece3e03
commit
61d92e9db9
@ -51,7 +51,7 @@ public final class DefaultGenerateOneTimeTokenRequestResolver implements Generat
|
||||
* @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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user