mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
25 lines
1.0 KiB
JSON
25 lines
1.0 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^2.0.0/components/context.jsonld",
|
|
"comment": "Exports 2 handlers: one for viewing the page and one for doing the reset.",
|
|
"@graph": [
|
|
{
|
|
"comment": "Handles the reset password page submission",
|
|
"@id": "urn:solid-server:auth:password:ResetPasswordRoute",
|
|
"@type": "BasicInteractionRoute",
|
|
"route": "^/resetpassword/[^/]*$",
|
|
"viewTemplates": {
|
|
"BasicInteractionRoute:_viewTemplates_key": "text/html",
|
|
"BasicInteractionRoute:_viewTemplates_value": "@css:templates/identity/email-password/reset-password.html.ejs"
|
|
},
|
|
"responseTemplates": {
|
|
"BasicInteractionRoute:_responseTemplates_key": "text/html",
|
|
"BasicInteractionRoute:_responseTemplates_value": "@css:templates/identity/email-password/reset-password-response.html.ejs"
|
|
},
|
|
"handler": {
|
|
"@type": "ResetPasswordHandler",
|
|
"accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" }
|
|
}
|
|
}
|
|
]
|
|
}
|