---
title: "Feature: #105624 - PSR-14 event after a backend user password has been reset"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-105624-1731956541"
source: "Changelog/14.0/Feature-105624-PSR-14EventAfterBackendUserPasswordReset.rst"
typo3-version: "14.0"
typo3-major: 14
type: "feature"
issue: 105624
forge: "https://forge.typo3.org/issues/105624"
tags: ["Backend", "PHP-API", "ext:backend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #105624 - PSR-14 event after a backend user password has been reset {#feature-105624-1731956541}

See [forge#105624](https://forge.typo3.org/issues/105624)

## Description {#description}

A new PSR-14 event `\TYPO3\CMS\Backend\Authentication\Event\PasswordHasBeenResetEvent`
has been introduced. It is dispatched right after a backend user has reset their password
and it has been hashed and persisted to the database.

The event contains the corresponding backend user UID.

## Example {#example}

The corresponding event listener class:

```php
<?php

namespace Vendor\MyPackage\Backend\EventListener;

use TYPO3\CMS\Backend\Authentication\Event\PasswordHasBeenResetEvent;
use TYPO3\CMS\Core\Attribute\AsEventListener;

final class PasswordHasBeenResetEventListener
{
    #[AsEventListener('my-package/backend/password-has-been-reset')]
    public function __invoke(PasswordHasBeenResetEvent $event): void
    {
        $userId = $event->userId;
        // Add custom logic for the backend user UID
    }
}
```

## Impact {#impact}

It is now possible to add custom business logic after a backend user has reset
their password using the new PSR-14 event
`PasswordHasBeenResetEvent`.
