Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph-Meyer committed Mar 18, 2019
1 parent 599b376 commit ac35546
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public Level getLevel(final long xp) {
return levelService.getLevelByUserXp(xp);
}

@Transactional
public void updateLastLogin(final String username) {
final User user = findByUsername(username);
user.setLastLogin(Timestamp.valueOf(LocalDateTime.now()));
Expand Down

0 comments on commit ac35546

Please sign in to comment.