RenderBeforePasswordRecoveryFormEvent
RenderBeforePasswordRecoveryFormEvent is dispatched before the password recovery form is rendered. Modules can use it to add instructions or custom recovery notices above the form.
Where It Runs
This event is implemented in resources/views/pages/auth/password-lost.blade.php before /common/auth/password-recovery-form is included.
Available Properties
$event->output: anApp\\Classes\\Outputinstance used to append rendered content withaddView()or related output methods.
Listener Example
<?php
namespace Modules\MyModule\Listeners;
use App\Events\RenderBeforePasswordRecoveryFormEvent;
class RenderBeforePasswordRecoveryFormEventListener
{
public function handle( RenderBeforePasswordRecoveryFormEvent $event )
{
$event->output->addView( 'MyModule::auth.before-password-recovery-form' );
}
}
Summary
- Use this event when a module needs to inject content at this exact form position.
- Append module views with
$event->output->addView().