feat(approvals): add a People page, leave channel approvals unchanged, make a binding's target optional (#2072)
This commit is contained in:
8 files changed
+214
-10
No files matched your search
@@ -377,10 +377,6 @@ func (m *Module) Settle(ctx context.Context, id uuid.UUID, identity, via string,
|
||||
return false, err
|
||||
}
|
||||
who, err := m.verify(ctx, identity, row)
|
||||
if err == nil && approved && row.Irreversible {
|
||||
// A channel message can't carry a passkey assertion.
|
||||
err = ErrNeedsFreshAuthentication
|
||||
}
|
||||
if refusal(err) {
|
||||
m.log.WarnContext(ctx, "approval answer refused", "request", id, "identity", identity, "reason", err.Error())
|
||||
return false, m.store.Refuse(ctx, store.Refusal{
|
||||
|
||||
Reference in new issue
Block a user