diff --git a/client/ui/tray_session.go b/client/ui/tray_session.go index 885fdb348..15690bb82 100644 --- a/client/ui/tray_session.go +++ b/client/ui/tray_session.go @@ -308,11 +308,7 @@ func (t *Tray) openSessionExtendFlow() { } seconds := int(time.Until(deadline).Seconds()) if seconds <= 0 { - if t.window != nil { - t.window.SetURL("/#/login") - t.window.Show() - t.window.Focus() - } + t.app.Event.Emit(services.EventTriggerLogin) return } if t.svc.WindowManager == nil {