Actually use the unexpected_content translation;
and handle the associated exception everywhere
This commit is contained in:
1 parent
091ed1422c
commit
53d14d3dd7
2 files changed
+13
-19
No files matched your search
+1
-1
@@ -214,7 +214,7 @@ default_translation: Translation = {
|
||||
},
|
||||
"login": {
|
||||
"unexpected_content": (
|
||||
"Unexpected content type returned instead of JSON, usually due to being redirected. "
|
||||
"Unexpected content type returned, usually due to being redirected. "
|
||||
"Do you need to login for internet access?"
|
||||
),
|
||||
"incorrect_login_pass": "Incorrect username or password.",
|
||||
|
||||
Reference in new issue
Block a user