mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
35 lines
1.5 KiB
JSON
35 lines
1.5 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^2.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Handles all functionality on the forgot password page",
|
|
"@id": "urn:solid-server:auth:password:ForgotPasswordRoute",
|
|
"@type": "BasicInteractionRoute",
|
|
"route": "^/forgotpassword/$",
|
|
"viewTemplates": {
|
|
"BasicInteractionRoute:_viewTemplates_key": "text/html",
|
|
"BasicInteractionRoute:_viewTemplates_value": "@css:templates/identity/email-password/forgot-password.html.ejs"
|
|
},
|
|
"responseTemplates": {
|
|
"BasicInteractionRoute:_responseTemplates_key": "text/html",
|
|
"BasicInteractionRoute:_responseTemplates_value": "@css:templates/identity/email-password/forgot-password-response.html.ejs"
|
|
},
|
|
"controls": {
|
|
"BasicInteractionRoute:_controls_key": "forgotPassword",
|
|
"BasicInteractionRoute:_controls_value": "/forgotpassword"
|
|
},
|
|
"handler": {
|
|
"@type": "ForgotPasswordHandler",
|
|
"args_accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" },
|
|
"args_baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
|
|
"args_idpPath": "/idp",
|
|
"args_templateEngine": {
|
|
"@type": "EjsTemplateEngine",
|
|
"template": "@css:templates/identity/email-password/reset-password-email.html.ejs"
|
|
},
|
|
"args_emailSender": { "@id": "urn:solid-server:default:EmailSender" }
|
|
}
|
|
}
|
|
]
|
|
}
|