fix build error

This commit is contained in:
Thore 2021-02-23 02:06:34 +01:00
parent 9ccd611ad2
commit 8445bd63ce

View file

@ -41,7 +41,7 @@ public class LastLoginEventListenerProvider implements EventListenerProvider {
if (userAttrs.containsKey("last-login")) {
List<String> userLastLogin = userAttrs.get("last-login");
if (userLastLogin != null && !userLastLogin.isEmpty()) {
user.setSingleAttribute("prior-login", userLastLogin.get(0);
user.setSingleAttribute("prior-login", userLastLogin.get(0));
}
}