diff --git a/auth-mastodon.py b/auth-mastodon.py index ee3b858..26890b6 100644 --- a/auth-mastodon.py +++ b/auth-mastodon.py @@ -24,7 +24,7 @@ db_name="mastodon" db_query_getpass="select users.encrypted_password as password from accounts inner join users on accounts.id=users.account_id where lower(accounts.username) = %(user)s and accounts.domain is null" ######################################################################## -#Setup +# Setup ######################################################################## sys.stderr = open('/var/log/ejabberd/extauth_err.log', 'a') @@ -67,7 +67,7 @@ class EjabberdInputError(Exception): ######################################################################## -#Declarations +# Declarations ######################################################################## def ejabberd_in(): @@ -138,7 +138,7 @@ def auth(user, host, password): ######################################################################## -#Main Loop +# Main Loop ######################################################################## exitcode=0