mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-14 19:05:17 +00:00
moving from double quotes to single quotes because that is breaking the fstring
This commit is contained in:
parent
9fe5573c35
commit
00168a41e7
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class GetCsrfToken(ApiHandler):
|
|||
if not origin_check["ok"]:
|
||||
return {
|
||||
"ok": False,
|
||||
"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'])}",
|
||||
"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'])}",
|
||||
}
|
||||
|
||||
# generate a csrf token if it doesn't exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue