mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-20 19:12:14 +00:00
SEC-2879: JdbcTokenRepositoryImpl updateToken should use lastUsed arg
This commit is contained in:
parent
8f29c2cc36
commit
d5ed97eba6
@ -71,7 +71,7 @@ public class JdbcTokenRepositoryImpl extends JdbcDaoSupport implements Persisten
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void updateToken(String series, String tokenValue, Date lastUsed) {
|
public void updateToken(String series, String tokenValue, Date lastUsed) {
|
||||||
getJdbcTemplate().update(updateTokenSql, tokenValue, new Date(), series);
|
getJdbcTemplate().update(updateTokenSql, tokenValue, lastUsed, series);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user