Hash password
(password: str)
| 25 | return username == config.admin_username and password == config.admin_password |
| 26 | |
| 27 | @staticmethod |
| 28 | def hash_password(password: str) -> str: |
| 29 | """Hash password""" |
| 30 | return bcrypt.hashpw(password.encode(), bcrypt.gensalt()).decode() |
| 31 | |
| 32 | @staticmethod |
nothing calls this directly
no outgoing calls
no test coverage detected