Do not change existing/overwritten usernames

Created on 5 October 2023, 9 months ago
Updated 13 October 2023, 9 months ago

Problem/Motivation

Currently, if we activate the module, all usernames are automatically changed. This is quite annoying, as the "Login by email address only" setting isn't enabled by default, meaning if we were logged out at the moment of enabling the module, we now need to either log in with our username OR email-address. But it is unexpected behavior, that the username changed.

Steps to reproduce

Proposed resolution

Implement the ability to manually overwrite the existing usernames.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Grevil
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Totally agree, especially the change to existing usernames on install was totally unexpected!

    For example username before was "admin" (dev env) now it's "adminexamplecom".

  • Status changed to Postponed: needs info 9 months ago
  • πŸ‡―πŸ‡΄Jordan mqanneh Amman

    Can you provide step to replica this issue? Mail login module doesn't edit usernames and only enables the login by email address in addition to the default username login.
    "Login by email address only" option is disabled by default which allows the user to login by username as normal.

    https://www.drupal.org/files/issues/2023-10-13/Screenshot%20from%202023-... β†’

  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡©πŸ‡ͺGermany Grevil

    This is super weird... I can't reproduce this behaviour any more...
    And you are correct, "Login by email address only" is disabled by default.

    Maybe I somehow used 1.x? Can't really tell how this was possible. Oh well, closing this then.

Production build 0.69.0 2024