diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index f5ec9e4c4c03a0810b6db4f10d1607c47dcb8e35..df59f9b01760d4c7176e18da2cf997e3f70b0f70 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -325,7 +325,7 @@ ACCOUNT_AUTHENTICATION_METHOD = _settings.get("auth.registration.method", "usern ACCOUNT_EMAIL_REQUIRED = _settings.get("auth.registration.email_required", True) SOCIALACCOUNT_EMAIL_REQUIRED = False -# Require email verification after sigm up +# Require email verification after sign up ACCOUNT_EMAIL_VERIFICATION = _settings.get("auth.registration.email_verification", "mandatory") SOCIALACCOUNT_EMAIL_VERIFICATION = False @@ -394,7 +394,7 @@ if _settings.get("ldap.uri", None): AUTH_LDAP_BIND_DN = _settings.get("ldap.bind.dn") AUTH_LDAP_BIND_PASSWORD = _settings.get("ldap.bind.password") - # Keep local password for users to be required to proveide their old password on change + # Keep local password for users to be required to provide their old password on change AUTH_LDAP_SET_USABLE_PASSWORD = _settings.get("ldap.handle_passwords", True) # Keep bound as the authenticating user @@ -468,7 +468,7 @@ if _settings.get("ldap.uri", None): "is_superuser" ] -# Add ModelBckend last so all other backends get a chance +# Add ModelBackend last so all other backends get a chance # to verify passwords first AUTHENTICATION_BACKENDS.append("django.contrib.auth.backends.ModelBackend") diff --git a/aleksis/core/util/notifications.py b/aleksis/core/util/notifications.py index 38d27057033752d6ae7cdefce9c53b4728447b80..dac344b7a2e2877d65ff1bc80b580b860bf1067f 100644 --- a/aleksis/core/util/notifications.py +++ b/aleksis/core/util/notifications.py @@ -21,7 +21,7 @@ except ImportError: def send_templated_sms( template_name: str, from_number: str, recipient_list: Sequence[str], context: dict ) -> None: - """Render a plan-text template and send via SMS to all recipients.""" + """Render a plain-text template and send via SMS to all recipients.""" template = get_template(template_name) text = template.render(context)