mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-25 06:58:39 +00:00
Bug 4032: UserStatusEventHandler is now aware if a user is authenticated
when the page is open or if a user was already authenticated when loading the page
This commit is contained in:
+1
-1
@@ -161,7 +161,7 @@ public class AdminConsolePanel extends DockLayoutPanel implements HandleTabSelec
|
||||
this.panelsByWidget = new HashMap<>();
|
||||
getUserService().addUserStatusEventHandler(new UserStatusEventHandler() {
|
||||
@Override
|
||||
public void onUserStatusChange(UserDTO user) {
|
||||
public void onUserStatusChange(UserDTO user, boolean preAuthenticated) {
|
||||
updateTabDisplayForCurrentUser(user);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user