change order of arguments bc of deprecation

This commit is contained in:
tbudras 2022-03-14 11:12:19 +01:00 committed by Thore
parent 6140807ff3
commit 291b2aa3f3

View file

@ -33,7 +33,7 @@ public class LastLoginEventListenerProvider implements EventListenerProvider {
// log.infof("## NEW %s EVENT", event.getType());
if (EventType.LOGIN.equals(event.getType())) {
RealmModel realm = this.model.getRealm(event.getRealmId());
UserModel user = this.session.users().getUserById(event.getUserId(), realm);
UserModel user = this.session.users().getUserById(realm, event.getUserId());
if (user != null) {
log.info("Updating last login status for user: " + event.getUserId());