---
title: "Fill Email as Username during registration"
manual: "Femanager"
version: "14.1"
permalink: "https://docs.typo3.org/permalink/in2code/femanager:fillemailasusername@14.1"
source: "Features/FillEmailAsUsername/Index.rst"
rendered: "2026-11-12T07:32:49+00:00"
---

# Fill Email as Username during registration {#fillemailasusername}

## Introduction {#introduction}

**Available since 2.0**

-   **If this setting is enabled, the mail address is taken as username. The setting can be applied in three situations:**

    -   During registration (new)
    -   During edit process of an existing user (edit)
    -   During Invitation process (invite)

## Configuration {#configuration}

Enable the "fillEmailWithUsername" option for the area (new, edit, invite), where you like to apply it.

Example for "new" area:

`plugin.tx_femanager.settings.new.fillEmailWithUsername = 1`

Please take care, that the username is not set to required, otherwise it will not work

`plugin.tx_femanager.settings.new.validation.username.required = 0`

### Example {#example}

TypoScript:

```typoscript
plugin.tx_femanager.settings {
    new {
         fillEmailWithUsername = 1
         validation.username.required = 0
    }
}
```

## Remarks {#remarks}

Please mind, if you use this setting in the edit view, a user is able to change his username.
Therefor you should always take care, via validation settings, that a username (and also the mail address) stays
unique for your users.
