File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ Takes a forgot password request from the user by passing their `uid`. Uid will b
200
200
3 . Emits the ` forgot::password ` event. You can listen for this event to send an email with the token to reset the password.
201
201
202
202
``` js
203
- forgotPassword ({ request }) {
203
+ async forgotPassword ({ request }) {
204
204
await Persona .forgotPassword (request .input (' uid' ))
205
205
}
206
206
```
@@ -214,7 +214,7 @@ Updates the user password using a token. This method performs the following chec
214
214
3 . Updates the user's password.
215
215
216
216
``` js
217
- updatePasswordByToken ({ request, params }) {
217
+ async updatePasswordByToken ({ request, params }) {
218
218
const token = params .token
219
219
const payload = request .only ([' password' , ' password_confirmation' ])
220
220
You can’t perform that action at this time.
0 commit comments