Skip to content

Commit

Permalink
fix: Fix login, register and forgot-password links
Browse files Browse the repository at this point in the history
These links don't work unless you add a trailing slash
  • Loading branch information
lolgab committed Jan 10, 2022
1 parent f3bb1ab commit 1a50df2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"controls": {
"BasicInteractionRoute:_controls_key": "forgotPassword",
"BasicInteractionRoute:_controls_value": "/forgotpassword"
"BasicInteractionRoute:_controls_value": "/forgotpassword/"
},
"handler": {
"@type": "ForgotPasswordHandler",
Expand Down
2 changes: 1 addition & 1 deletion config/identity/handler/interaction/routes/login.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"controls": {
"BasicInteractionRoute:_controls_key": "login",
"BasicInteractionRoute:_controls_value": "/login"
"BasicInteractionRoute:_controls_value": "/login/"
},
"handler": {
"@type": "LoginHandler",
Expand Down
2 changes: 1 addition & 1 deletion config/identity/registration/route/registration.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"controls": {
"BasicInteractionRoute:_controls_key": "register",
"BasicInteractionRoute:_controls_value": "/register"
"BasicInteractionRoute:_controls_value": "/register/"
},
"handler": {
"@type": "RegistrationHandler",
Expand Down

0 comments on commit 1a50df2

Please sign in to comment.