Created
December 11, 2014 11:10
-
-
Save Pacodastre/326946d0abb261fc8124 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 2d8206e81e3b6add9d42797bbb6ed1f894090a77 | |
Author: Francois Ribemont <francois.ribemont@openapp.ie> | |
Date: Mon Dec 8 13:18:19 2014 +0000 | |
Fixed the output string for one of the classes | |
diff --git a/django_auth_policy/password_strength.py b/django_auth_policy/password_strength.py | |
index baf9c79..8b5f1c2 100644 | |
--- a/django_auth_policy/password_strength.py | |
+++ b/django_auth_policy/password_strength.py | |
@@ -165,7 +165,7 @@ class PasswordUserAttrs(PasswordStrengthPolicy): | |
@property | |
def policy_text(self): | |
- return self.text | |
+ return self.text.format() | |
class PasswordDisallowedTerms(PasswordStrengthPolicy): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment