mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
bug5773: in UserDetailsPresenter register a UserStatusEventHandler to update view upon user change
This commit is contained in:
1 parent
868557c70c
commit
71d752795d
1 file changed
+1
+1
@@ -39,6 +39,7 @@ public class UserDetailsPresenter implements AbstractUserDetails.Presenter {
|
||||
if (authenticationManager.getAuthenticationContext().isLoggedIn()) {
|
||||
view.setUser(authenticationManager.getAuthenticationContext().getCurrentUser());
|
||||
}
|
||||
this.userService.addUserStatusEventHandler((user, preAuthenticated)->view.setUser(user));
|
||||
}
|
||||
|
||||
public void setAuthenticationContext(AuthenticationContext authenticationContext) {
|
||||
|
||||
Reference in new issue
Block a user