diff options
author | Kent Shikama <kent@kentshikama.com> | 2016-07-05 19:01:00 +0900 |
---|---|---|
committer | Kent Shikama <kent@kentshikama.com> | 2016-07-05 19:01:00 +0900 |
commit | 1ee258430724618c7014bb176186c23b0b5b06f0 (patch) | |
tree | 3dfb667c74d5cca2cb720111ca132830398f10a8 /synapse/handlers/auth.py | |
parent | Add comment to prompt changing of pepper (diff) | |
download | synapse-1ee258430724618c7014bb176186c23b0b5b06f0.tar.xz |
Fix pep8
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index fd5fadf73d..be46681c64 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -750,7 +750,8 @@ class AuthHandler(BaseHandler): Returns: Hashed password (str). """ - return bcrypt.hashpw(password + self.hs.config.password_config.pepper, bcrypt.gensalt(self.bcrypt_rounds)) + return bcrypt.hashpw(password + self.hs.config.password_config.pepper, + bcrypt.gensalt(self.bcrypt_rounds)) def validate_hash(self, password, stored_hash): """Validates that self.hash(password) == stored_hash. |