Add job queue; e-mail sending; password reset support

This commit is contained in:
garrettmills
2020-05-25 15:45:26 -05:00
parent f371310620
commit 76ba843348
22 changed files with 884 additions and 30 deletions

View File

@@ -70,7 +70,7 @@ class TrustManager {
}
end() {
const next = this.request.session.trust_flow.next
const next = this.request.session?.trust_flow?.next
delete this.request.session.trust_flow
return next
}

View File

@@ -58,7 +58,10 @@ const index = {
* or middleware that are applied in order.
*/
post: {
'/api/v1/password/request_reset': [
'middleware::auth:GuestOnly',
'controller::api:v1:Password.request_reset',
],
},
}