changeset 4202:05fe69812197 kallithea-2.2.5-rebrand

Rename RhodeCodeCrypto to KallitheaCrypto
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:05:31 -0400
parents bb735ce0ccbb
children 9daad8c50b37
files kallithea/lib/auth.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/auth.py	Wed Jul 02 19:05:31 2014 -0400
+++ b/kallithea/lib/auth.py	Wed Jul 02 19:05:31 2014 -0400
@@ -93,7 +93,7 @@
         return self.passwd
 
 
-class RhodeCodeCrypto(object):
+class KallitheaCrypto(object):
 
     @classmethod
     def hash_string(cls, str_):
@@ -135,11 +135,11 @@
 
 
 def get_crypt_password(password):
-    return RhodeCodeCrypto.hash_string(password)
+    return KallitheaCrypto.hash_string(password)
 
 
 def check_password(password, hashed):
-    return RhodeCodeCrypto.hash_check(password, hashed)
+    return KallitheaCrypto.hash_check(password, hashed)
 
 
 def generate_api_key(str_, salt=None):