---
title: "Deprecation: #100307 - Various hooks related to authentication users"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-100307-1679924603"
source: "Changelog/12.3/Deprecation-100307-VariousHooksRelatedToAuthenticationUsers.rst"
typo3-version: "12.3"
typo3-major: 12
type: "deprecation"
issue: 100307
forge: "https://forge.typo3.org/issues/100307"
tags: ["Backend", "Frontend", "PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-17T12:41:04+00:00"
---

# Deprecation: #100307 - Various hooks related to authentication users {#deprecation-100307-various-hooks-related-to-authentication-users}

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

## Description {#description}

The following hooks have been marked as deprecated:

-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['backendUserLogin']`

They can be used to add notifications or actions to a TYPO3 installation
after a frontend user or a backend user has actively logged
in or logged out.

## Impact {#impact}

If one of the hooks is registered in a TYPO3 installation,
a PHP `E_USER_DEPRECATED` error is triggered when a user logs
in or logs out.

## Affected installations {#affected-installations}

TYPO3 installations with custom extensions using one of these hooks.

The extension scanner detects any usage of the hooks.

## Migration {#migration}

Migrate to the newly introduced PSR-14 events:

-   `\TYPO3\CMS\Core\Authentication\Event\BeforeUserLogoutEvent`
-   `\TYPO3\CMS\Core\Authentication\Event\AfterUserLoggedOutEvent`
-   `\TYPO3\CMS\Core\Authentication\Event\AfterUserLoggedInEvent`

> [!NOTE]
> **See also**
>
> [Feature: #100307 - PSR-14 events for user login & logout](https://docs.typo3.org/permalink/changelog:feature-100307-1679924551)
