mirror of
https://github.com/1f349/lavender.git
synced 2024-12-22 15:44:07 +00:00
Output mail inbox address as permission
This commit is contained in:
parent
41db9d605c
commit
a4983a2244
@ -195,7 +195,7 @@ func (h *HttpServer) flowCallback(rw http.ResponseWriter, req *http.Request, _ h
|
|||||||
n := strings.IndexByte(address.Address, '@')
|
n := strings.IndexByte(address.Address, '@')
|
||||||
if n != -1 {
|
if n != -1 {
|
||||||
if address.Address[n+1:] == v.sso.Config.Namespace {
|
if address.Address[n+1:] == v.sso.Config.Namespace {
|
||||||
ps.Set("mail:client")
|
ps.Set("mail:inbox=" + address.Address)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user