moving from double quotes to single quotes because that is breaking the fstring
pUrGe12 committed
Nov 26, 2025 at 16:14 UTC
00168a41e7ef1ab9a883f22087261a739135ed69
1 file changed
+1
-1
python/api/csrf_token.py
+1
-1
@@ -29,7 +29,7 @@ class GetCsrfToken(ApiHandler):
29
if not origin_check["ok"]:
30
return {
31
"ok": False,
32
- "error": f"Origin {self.get_origin_from_request(request)} not allowed when login is disabled. Set login and password or add your URL to ALLOWED_ORIGINS env variable. Currently allowed origins: {",".join(origin_check['allowed_origins'])}",
32
+ "error": f"Origin {self.get_origin_from_request(request)} not allowed when login is disabled. Set login and password or add your URL to ALLOWED_ORIGINS env variable. Currently allowed origins: {','.join(origin_check['allowed_origins'])}",
33
}
34
35
# generate a csrf token if it doesn't exist