This project is not covered by Drupal’s security advisory policy.

Summary

LRN (for Login Registration Name) allows to automate user name generation at user creation, based on first/middle/lastnames (that should be still present in the user form) and set of rules.

It is useful when user names should be "uniformized" (i.e. professional names) or when they may be used from other resources (such as a Unix login name).

Features

  • choose fields to associate with first/middle/lastname
  • choose transformations to apply to these name parts:
    • transliteration to ASCII
    • various upper/lowercase actions
    • various content rewriting (initials, remove non-alphanumeric…)
    • max length crop
  • choose how to combine name parts to create user name
  • allow account numbering (i.e. Name2, Name3…) if name is still used

Configuration

Configuration is available in Configuration > System > Login realname (/admin/config/system/lrn-config).

Requirements, constrains

When the module is activated you do not have anymore access to 'name' field in user registration form, so you need to configure your settings.

When editing a user, the 'name' field is visible but read-only, so that you can see the name but not change it.

You have to create fields (must be textfields) for name parts in your user registration form (i.e. firstname, lastname, middlename) that will be used to build name.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Access control
  • Created by yannick perret on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases