Skip to content

Commit

Permalink
Fix missing closing code block in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Oct 24, 2023
1 parent 9c047a8 commit 7f1c072
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions esmerald/conf/global_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,9 @@ def password_hashers(self) -> List[str]:
```python
from esmerald import EsmeraldAPISettings
# myapp.hashers.py
from esmerald.contrib.auth.hashers import PBKDF2PasswordHasher
# myapp.hashers.py
class CustomHasher(PBKDF2PasswordHasher):
'''
All the hashers inherit from BasePasswordHasher
Expand All @@ -672,7 +671,7 @@ class AppSettings(EsmeraldAPISettings):
def password_hashers(self) -> List[str]:
return ["myapp.hashers.CustomHasher"]
```
```
"""
return [
"esmerald.contrib.auth.hashers.PBKDF2PasswordHasher",
Expand Down

0 comments on commit 7f1c072

Please sign in to comment.