Skip to content

Commit

Permalink
fix bcrypt salt round parsed as str
Browse files Browse the repository at this point in the history
  • Loading branch information
wuttinanhi committed Oct 24, 2022
1 parent ebc3983 commit 0b39890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcrypt_wrapper/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


class BcryptService:
__salt_round = os.getenv("BCRYPT_SALT") or 10
__salt_round = int(os.getenv("BCRYPT_SALT") or 10)
__salt = bcrypt.gensalt(rounds=__salt_round)

@staticmethod
Expand Down

0 comments on commit 0b39890

Please sign in to comment.