WebsiteDashboardFeedback Board
Documentation Developer Documentation
Module
Fundamentals
Advanced
Troubleshooting
Invoice Synchronizers
Domain registrars
Hosting module
Shortcut Traits
Shortcut Traits Backups Graphs Reset password
Hosting Handler
Hosting module Dynamic products
Support integrations
DNS integrations
Core
Config Service Domain Whois Service Webhook events and payloads
Themes
Structure Template extension order Extending a template file Create a new theme Compile theme SCSS with brand settings Theme configuration via config.xml Customization packages (brand presets) Add a CMS element from a theme Ship images, JavaScript and other theme assets Develop and debug a theme locally Twig helpers a theme uses
CMS
Adding custom elements
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?
On this page
  • Implement
  • Action handler
Was this helpful?