@@ -62,7 +62,7 @@ async def on_GET(self, request: SynapseRequest, stagetype: str) -> None:
62
62
if stagetype == LoginType .RECAPTCHA :
63
63
html = self .recaptcha_template .render (
64
64
session = session ,
65
- myurl = "%s/r0 /auth/%s/fallback/web"
65
+ myurl = "%s/v3 /auth/%s/fallback/web"
66
66
% (CLIENT_API_PREFIX , LoginType .RECAPTCHA ),
67
67
sitekey = self .hs .config .captcha .recaptcha_public_key ,
68
68
)
@@ -74,7 +74,7 @@ async def on_GET(self, request: SynapseRequest, stagetype: str) -> None:
74
74
self .hs .config .server .public_baseurl ,
75
75
self .hs .config .consent .user_consent_version ,
76
76
),
77
- myurl = "%s/r0 /auth/%s/fallback/web"
77
+ myurl = "%s/v3 /auth/%s/fallback/web"
78
78
% (CLIENT_API_PREFIX , LoginType .TERMS ),
79
79
)
80
80
@@ -118,7 +118,7 @@ async def on_POST(self, request: Request, stagetype: str) -> None:
118
118
# Authentication failed, let user try again
119
119
html = self .recaptcha_template .render (
120
120
session = session ,
121
- myurl = "%s/r0 /auth/%s/fallback/web"
121
+ myurl = "%s/v3 /auth/%s/fallback/web"
122
122
% (CLIENT_API_PREFIX , LoginType .RECAPTCHA ),
123
123
sitekey = self .hs .config .captcha .recaptcha_public_key ,
124
124
error = e .msg ,
@@ -143,7 +143,7 @@ async def on_POST(self, request: Request, stagetype: str) -> None:
143
143
self .hs .config .server .public_baseurl ,
144
144
self .hs .config .consent .user_consent_version ,
145
145
),
146
- myurl = "%s/r0 /auth/%s/fallback/web"
146
+ myurl = "%s/v3 /auth/%s/fallback/web"
147
147
% (CLIENT_API_PREFIX , LoginType .TERMS ),
148
148
error = e .msg ,
149
149
)
0 commit comments