summaryrefslogtreecommitdiff
path: root/xmpp/router.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 13:33:14 +0200
committerxengineering <me@xengineering.eu>2023-06-30 13:33:14 +0200
commitd7a537267e8bf5631e29ed97218e213da88f3490 (patch)
tree1f34233fca18d934648b25004fdbff464722d622 /xmpp/router.go
parent6fd36e07a5d645295f34fcbab36cce5e08a9d84c (diff)
downloadlimox-d7a537267e8bf5631e29ed97218e213da88f3490.tar
limox-d7a537267e8bf5631e29ed97218e213da88f3490.tar.zst
limox-d7a537267e8bf5631e29ed97218e213da88f3490.zip
Implement basic handler for failed SASL auth
Writing to the log is still better than doing nothing ...
Diffstat (limited to 'xmpp/router.go')
-rw-r--r--xmpp/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/router.go b/xmpp/router.go
index 84256bb..9d69033 100644
--- a/xmpp/router.go
+++ b/xmpp/router.go
@@ -24,6 +24,7 @@ func getRoutingTable() routingTable {
return routingTable{
{xml.Name{`http://etherx.jabber.org/streams`, `features`}, streamFeaturesHandler},
{xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `success`}, saslSuccessHandler},
+ {xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `failure`}, saslFailureHandler},
}
}