##// END OF EJS Templates
auth: the correct prefixes for python bcrypt are $2a or $2b....
marcink -
r1626:a402cae5 default
parent child Browse files
Show More
@@ -138,7 +138,7 b' class _RhodeCodeCryptoBase(object):'
138
138
139
139
140 class _RhodeCodeCryptoBCrypt(_RhodeCodeCryptoBase):
140 class _RhodeCodeCryptoBCrypt(_RhodeCodeCryptoBase):
141 ENC_PREF = '$2a$10'
141 ENC_PREF = ('$2a$10', '$2b$10')
142
142
143 def hash_create(self, str_):
143 def hash_create(self, str_):
144 self._assert_bytes(str_)
144 self._assert_bytes(str_)
General Comments 0
You need to be logged in to leave comments. Login now