---
title: "Login as Frontend User (Impersonate)"
manual: "Femanager"
version: "14.1"
permalink: "https://docs.typo3.org/permalink/in2code/femanager:loginas@14.1"
source: "Features/LoginAs/Index.rst"
rendered: "2026-11-12T07:32:49+00:00"
---

# Login as Frontend User (Impersonate) {#loginas}

## Introduction {#introduction}

The "Login as" feature allows backend administrators to impersonate a frontend user directly from the
femanager backend module. Clicking the "Login as" button opens a new browser tab where the administrator
is logged in as the selected frontend user. This is useful for debugging, testing or supporting users
without knowing their password.

The button is only available for users who are **offline** and **not disabled**. For users who are
currently online or disabled, the button is shown in a disabled state.

> [!WARNING]
> **Attention**
>
> This feature is restricted to backend administrators only. Non-admin backend users cannot use
> this feature even if it is enabled.

## Configuration {#configuration}

The feature is disabled by default and must be enabled via UserTSConfig:

```typoscript
tx_femanager.UserBackend.enableLoginAs = 1
```

A default configuration file is shipped with the extension at
`Configuration/UserTsConfig/BackendModule.typoscript` which can be included in your
site configuration or UserTSConfig.

## Redirect Page {#redirect-page}

By default, the administrator is redirected to the page configured in `module.tx_femanager.settings.configPID`
after the impersonation login. You can customize the redirect target via TypoScript. If a redirect is
configured via TypoScript, it takes precedence over `configPID`:

```typoscript
plugin.tx_femanager.settings.loginAs {
    redirect = TEXT
    redirect {
        typolink {
            parameter = 42
            returnLast = url
        }
    }
}
```

## Events {#events}

The `ImpersonateEvent` is dispatched when a backend administrator logs in as a frontend user. This can
be used to log or audit impersonation actions.

See [Events](https://docs.typo3.org/permalink/in2code/femanager:events@14.1) for more details.
