Home
NexoPOS

RenderAfterNewPasswordFormEvent

RenderAfterNewPasswordFormEvent is dispatched after the new password form is rendered. Modules can use it to add post-form guidance or supporting UI below the form.

Where It Runs

This event is implemented in resources/views/pages/auth/new-password.blade.php after /common/auth/new-password-form is included.

Available Properties

  • $event->output: an App\\Classes\\Output instance used to append rendered content with addView() or related output methods.

Listener Example

<?php

namespace Modules\MyModule\Listeners;

use App\Events\RenderAfterNewPasswordFormEvent;

class RenderAfterNewPasswordFormEventListener
{
    public function handle( RenderAfterNewPasswordFormEvent $event )
    {
        $event->output->addView( 'MyModule::auth.after-new-password-form' );
    }
}

Summary

  • Use this event when a module needs to inject content at this exact form position.
  • Append module views with $event->output->addView().