Add auth_success event.
The auth_success event is triggered upon successful SASL negotiation.
This commit is contained in:
		@@ -159,6 +159,7 @@ class FeatureMechanisms(BasePlugin):
 | 
			
		||||
        self.attempted_mechs = set()
 | 
			
		||||
        self.xmpp.authenticated = True
 | 
			
		||||
        self.xmpp.features.add('mechanisms')
 | 
			
		||||
        self.xmpp.event('auth_success', stanza, direct=True)
 | 
			
		||||
        raise RestartStream()
 | 
			
		||||
 | 
			
		||||
    def _handle_fail(self, stanza):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user