From a4983a2244f36d817bc84a0a090d4697f89ab051 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sun, 19 Nov 2023 20:32:33 +0000 Subject: [PATCH] Output mail inbox address as permission --- server/flow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/flow.go b/server/flow.go index caea9f5..9bc0f08 100644 --- a/server/flow.go +++ b/server/flow.go @@ -195,7 +195,7 @@ func (h *HttpServer) flowCallback(rw http.ResponseWriter, req *http.Request, _ h n := strings.IndexByte(address.Address, '@') if n != -1 { if address.Address[n+1:] == v.sso.Config.Namespace { - ps.Set("mail:client") + ps.Set("mail:inbox=" + address.Address) } } }