Shortcut Traits

Reset password

Implement

Add the ServerHostingPasswordResetTrait to your Page class:

Action handler

Just implement the resetPassword function just like every other action. You can access the password from the user via $request->get('newPassword') and perform the password reset action.

Was this helpful?