Is there a way to configure CQ5 to use email of users as their username when for logging in to the system? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

Is there a way to configure CQ5 to use email of users as their username when for logging in to the system?

  • October 16, 2015
  • 1 reply
  • 702 views

Hi,

At the moment we use email addresses as usernames (e.g. node names for user nodes) to let users login using their username. But this complicates allowing users changing their email addresses.

Is there a way we can create users with arbitrary names (e.g. user-1) but use their email property as the username for logging in?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

You can have your own loginService which uses emailId for the login and configure the same in your component

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

You can have your own loginService which uses emailId for the login and configure the same in your component