@@ -62,7 +62,7 @@ async def on_GET(self, request: SynapseRequest, stagetype: str) -> None:
6262 if stagetype == LoginType .RECAPTCHA :
6363 html = self .recaptcha_template .render (
6464 session = session ,
65- myurl = "%s/r0 /auth/%s/fallback/web"
65+ myurl = "%s/v3 /auth/%s/fallback/web"
6666 % (CLIENT_API_PREFIX , LoginType .RECAPTCHA ),
6767 sitekey = self .hs .config .captcha .recaptcha_public_key ,
6868 )
@@ -74,7 +74,7 @@ async def on_GET(self, request: SynapseRequest, stagetype: str) -> None:
7474 self .hs .config .server .public_baseurl ,
7575 self .hs .config .consent .user_consent_version ,
7676 ),
77- myurl = "%s/r0 /auth/%s/fallback/web"
77+ myurl = "%s/v3 /auth/%s/fallback/web"
7878 % (CLIENT_API_PREFIX , LoginType .TERMS ),
7979 )
8080
@@ -118,7 +118,7 @@ async def on_POST(self, request: Request, stagetype: str) -> None:
118118 # Authentication failed, let user try again
119119 html = self .recaptcha_template .render (
120120 session = session ,
121- myurl = "%s/r0 /auth/%s/fallback/web"
121+ myurl = "%s/v3 /auth/%s/fallback/web"
122122 % (CLIENT_API_PREFIX , LoginType .RECAPTCHA ),
123123 sitekey = self .hs .config .captcha .recaptcha_public_key ,
124124 error = e .msg ,
@@ -143,7 +143,7 @@ async def on_POST(self, request: Request, stagetype: str) -> None:
143143 self .hs .config .server .public_baseurl ,
144144 self .hs .config .consent .user_consent_version ,
145145 ),
146- myurl = "%s/r0 /auth/%s/fallback/web"
146+ myurl = "%s/v3 /auth/%s/fallback/web"
147147 % (CLIENT_API_PREFIX , LoginType .TERMS ),
148148 error = e .msg ,
149149 )
0 commit comments