Add job queue; e-mail sending; password reset support
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user