heimrichhannot/contao-email2username-bundle

A Contao bundle that automatically sets the username based on the user email address.

Maintainers

Package info

github.com/heimrichhannot/contao-email2username-bundle

Type:contao-bundle

pkg:composer/heimrichhannot/contao-email2username-bundle

Statistics

Installs: 4 420

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

2.0.0 2026-04-14 12:29 UTC

This package is auto-updated.

Last update: 2026-04-14 12:30:54 UTC


README

A Contao extension that allows using the e-mail address as username for members and users.

Features

  • login with username or e-mail address
  • set username to e-mail address on registration, member/user creation or member/user update (can be disabled)
  • can be deactivated for user and/or member (see Configuration chapter)

Install & Setup

  1. Install from composer or Contao Manager

     composer require heimrichhannot/contao-email2username-bundle
    
  2. Customize config to your needs (e.g. enable only for backend user), see Configuration.

Configuration

# Default configuration for extension with alias: "huh_email2username"
huh_email2username:
   member:

      # Enable support for frontend member.
      enable:               true

      # Allow override existing usernames.
      override:             true
   user:

      # Enable support for backend user.
      enable:               true

      # Allow override existing usernames.
      override:             true