0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00

style: fixed spelling errors

This commit is contained in:
moonburnt 2021-09-18 17:22:12 +03:00 committed by boltgolt
parent 84ad5ddc52
commit 494021e679
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

View file

@ -15,7 +15,7 @@ config.read(os.path.dirname(os.path.abspath(__file__)) + "/config.ini")
def doAuth(pamh): def doAuth(pamh):
"""Starts authentication in a seperate process""" """Starts authentication in a separate process"""
# Abort if Howdy is disabled # Abort if Howdy is disabled
if config.getboolean("core", "disabled"): if config.getboolean("core", "disabled"):
@ -103,7 +103,7 @@ def doAuth(pamh):
syslog.closelog() syslog.closelog()
return pamh.PAM_SUCCESS return pamh.PAM_SUCCESS
# Otherwise, we can't discribe what happend but it wasn't successful # Otherwise, we can't describe what happened but it wasn't successful
pamh.conversation(pamh.Message(pamh.PAM_ERROR_MSG, "Unknown error: " + str(status))) pamh.conversation(pamh.Message(pamh.PAM_ERROR_MSG, "Unknown error: " + str(status)))
syslog.syslog(syslog.LOG_INFO, "Failure, unknown error" + str(status)) syslog.syslog(syslog.LOG_INFO, "Failure, unknown error" + str(status))
syslog.closelog() syslog.closelog()