Skip to content

Commit

Permalink
Ajout de "+"
Browse files Browse the repository at this point in the history
Ajout de "+" comme caractère accepté de mot de passe pour les gens utilisant des mots de passes complexe. Testé en local en changeant mon mot de passe pour y mettre un + et ça fonctionne.
  • Loading branch information
ic-dev21 committed Nov 3, 2023
1 parent 783a541 commit 571334b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyhilo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def async_auth_password(
api._username = username
api._state_yaml = state_yaml
api.state = get_state(state_yaml)
password = parse.quote(password, safe="!@#$%^&*()")
password = parse.quote(password, safe="!@#$%^&*()+")
auth_body = api.auth_body(
AUTH_TYPE_PASSWORD, username=username, password=password
)
Expand Down

0 comments on commit 571334b

Please sign in to comment.