|
|
|
@ -67,8 +67,7 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces
|
|
|
|
|
*/
|
|
|
|
|
protected DataObject onSuccess(HttpServletRequest hreq, HttpServletResponse hresp, Authentication authentication) {
|
|
|
|
|
Object principal = authentication.getPrincipal();
|
|
|
|
|
if (principal instanceof UserInfo) {
|
|
|
|
|
UserInfo user = (UserInfo)principal;
|
|
|
|
|
if (principal instanceof UserInfo user) {
|
|
|
|
|
user.setInfo("loggedInAt", new Date());
|
|
|
|
|
remember(user, hreq, hresp);
|
|
|
|
|
}
|
|
|
|
|