fix: persist login sessions for workbench auth

This commit is contained in:
richjohnrambo
2026-09-15 10:23:47 +08:00
parent ef8091d805
commit 9ec5da5b02
3 changed files with 55 additions and 1 deletions
@@ -171,6 +171,10 @@ func (r *testGroupMessageRuntime) ShortStateExists(namespace, id string) (bool,
return r.shortStates[namespace+":"+id], nil
}
func (r *testGroupMessageRuntime) StoreLoginSession([]byte, LoginSession, time.Duration) error {
return nil
}
func TestLoginTokenRevocation(t *testing.T) {
oldRuntime := groupMsgRuntime
groupMsgRuntime = newTestGroupMessageRuntime()