SEC-2879: JdbcTokenRepositoryImpl updateToken should use lastUsed arg

This commit is contained in:
Michael Cramer 2014-09-26 08:44:30 +02:00 committed by Rob Winch
parent 9ea7372405
commit 8c0b16820b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
/** /**