---
title: "Feature: #83529 - Execute hooks on backend user login"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-83529"
source: "Changelog/9.1/Feature-83529-ExecuteHooksOnBackendUserLogin.rst"
typo3-version: "9.1"
typo3-major: 9
type: "feature"
issue: 83529
forge: "https://forge.typo3.org/issues/83529"
tags: ["PHP-API", "LocalConfiguration"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #83529 - Execute hooks on backend user login {#feature-83529}

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

## Description {#description}

When a user successfully logs in to the backend of TYPO3, registered hooks are executed.
Developers can register their hooks as shown below.

```php
// Register hook on successful BE user login
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['backendUserLogin'][] =
    \Vendor\MyExtension\Hooks\BackendUserLogin::class . '->dispatch';
```

On user login, method `dispatch()` of class `\Vendor\MyExtension\Hooks\BackendUserLogin`
is executed and the backend user array is passed as a parameter:

```php
public function dispatch(array $backendUser)
{
  if (isset($backendUser['user']['username'])) {
    $username = $backendUser['user']['username'];
    $email = $backendUser['user']['email'];
    // do something...
  }
}
```

## Impact {#impact}

TYPO3 core developers as well as extension developers can develop functions which will be executed
when a backend user successfully logs in to the backend of TYPO3.
A typical use case would be any type of notification service.
