fix log message related to bcrypt+autodetect
This commit is contained in:
@@ -83,7 +83,7 @@ class Auth(auth.BaseAuth):
|
|||||||
import bcrypt
|
import bcrypt
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"The htpasswd encryption method 'bcrypt' or 'auto' requires "
|
"The htpasswd encryption method 'bcrypt' or 'autodetect' requires "
|
||||||
"the bcrypt module.") from e
|
"the bcrypt module.") from e
|
||||||
if encryption == "bcrypt":
|
if encryption == "bcrypt":
|
||||||
self._verify = functools.partial(self._bcrypt, bcrypt)
|
self._verify = functools.partial(self._bcrypt, bcrypt)
|
||||||
|
|||||||
Reference in New Issue
Block a user