Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-email2username-bundle
A Contao bundle that automatically sets the username based on the user email address.
https://github.com/heimrichhannot/contao-email2username-bundle
Last synced: about 1 month ago
JSON representation
A Contao bundle that automatically sets the username based on the user email address.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-email2username-bundle
- Owner: heimrichhannot
- Created: 2018-04-04T07:09:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T10:19:23.000Z (9 months ago)
- Last Synced: 2024-09-17T07:19:22.217Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Contao Email2Username Bundle
[![](https://img.shields.io/packagist/v/heimrichhannot/contao-email2username-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-email2username-bundle)
[![](https://img.shields.io/packagist/dt/heimrichhannot/contao-email2username-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-email2username-bundle)A [Contao](https://contao.org) bundle that automatically sets the username based on the user email address.
## Features
- disables the username field and sets the name to the given user e-mail address
- works for members and users
- case-insensitive email login within tl_member & tl_user
- 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
1. Customize config to your needs (e.g. enable only for backend user), see Configuration.1. If you want only new members/users to get email as username, enable `disable_override_existing_usernames` option.
## Configuration
You can disable this bundles functionality for member or user in your config files (typically [Project-Folder]/app/config/config.yml). By default, it is activated for both.
```yaml
huh_email2username:# Enable support for backend user.
user: true# Enable support for frontend member.
member: true# Disable overriding existing usernames.
disable_override_existing_usernames: false
```