mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 23:17:41 +00:00
fix(mfa): correct change url (#5663)
This commit is contained in:
parent
ba74cd018d
commit
c216d6effd
@ -161,7 +161,7 @@ func CreateRenderer(pathPrefix string, staticDir http.FileSystem, staticStorage
|
|||||||
return path.Join(r.pathPrefix, EndpointMFAPrompt)
|
return path.Join(r.pathPrefix, EndpointMFAPrompt)
|
||||||
},
|
},
|
||||||
"mfaPromptChangeUrl": func(id string, provider domain.MFAType) string {
|
"mfaPromptChangeUrl": func(id string, provider domain.MFAType) string {
|
||||||
return path.Join(r.pathPrefix, fmt.Sprintf("%s?%s=%s;%s=%v", EndpointMFAPrompt, QueryAuthRequestID, id, "provider", provider))
|
return path.Join(r.pathPrefix, fmt.Sprintf("%s?%s=%s&%s=%v", EndpointMFAPrompt, QueryAuthRequestID, id, "provider", provider))
|
||||||
},
|
},
|
||||||
"mfaInitVerifyUrl": func() string {
|
"mfaInitVerifyUrl": func() string {
|
||||||
return path.Join(r.pathPrefix, EndpointMFAInitVerify)
|
return path.Join(r.pathPrefix, EndpointMFAInitVerify)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user