mirror of
https://github.com/jointakahe/takahe.git
synced 2025-01-10 22:25:25 +00:00
Allow quoted usernames too
This commit is contained in:
parent
9f3ad0be16
commit
250afe4e40
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ if SETUP.EMAIL_SERVER:
|
|||
elif parsed.scheme == "smtp":
|
||||
EMAIL_HOST = parsed.hostname
|
||||
EMAIL_PORT = parsed.port
|
||||
EMAIL_HOST_USER = parsed.username
|
||||
EMAIL_HOST_USER = urllib.parse.unquote(parsed.username)
|
||||
EMAIL_HOST_PASSWORD = urllib.parse.unquote(parsed.password)
|
||||
EMAIL_USE_TLS = as_bool(query.get("tls"))
|
||||
EMAIL_USE_SSL = as_bool(query.get("ssl"))
|
||||
|
|
Loading…
Reference in a new issue