summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorKent Shikama <kent@kentshikama.com>2016-07-05 19:01:00 +0900
committerKent Shikama <kent@kentshikama.com>2016-07-05 19:01:00 +0900
commit1ee258430724618c7014bb176186c23b0b5b06f0 (patch)
tree3dfb667c74d5cca2cb720111ca132830398f10a8 /synapse/handlers/auth.py
parentAdd comment to prompt changing of pepper (diff)
downloadsynapse-1ee258430724618c7014bb176186c23b0b5b06f0.tar.xz
Fix pep8
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py3
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.