Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have been using Umbraco v7.6.x for several months. I have always logged in using the "name", not the "email" for the user account.
In 7.7.1, it seems I need to use the email address of the backoffice user. Can this be changed so users can login with their username instead?
Yes, add this setting to umbracoSettings.config and set it to false: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI/config/umbracoSettings.Release.config#L70
After changing this setting, I cannot create a "username" for users. Typing a new username and clicking "save" does not generate an error, but the username resets/defaults back to the email address.
Can usernames be changed in the database? Or does the usernameIsEmail flag need to be enabled before creating a new user?
Ah yes. Sorry, this will be fixed in 7.7.2, that's a big currently!
FYI, here's the issue with the pull request Sebastiaan added: http://issues.umbraco.org/issue/U4-10435
As a temporary fix, once you set this in config > umbracoSettings.config
you can modify the Umbraco DB directly to create a userLogin. In SQL-Server this would look like:
UPDATE umbracoUser SET userLogin='desiredLoginName' WHERE userEmail='[email protected]';
Note: I am not advocating directly modifying the Umbraco DB! This is just a potential workaround.
Many thanks for showing us where this setting is, Sebastiaan
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted