Today I stumbled upon a feature that I previously did not know existed in Orchard CMS. In fact, I have not found this documented in anywhere as of yet. But in any case, I forgot the username for the administrator’s account in one of my Orchard development environments and could not log in.
I was afraid that I would have to re-deploy the site until, as I was pondering the possibilities for the username, I actually read the error message. As displayed in the image below, Orchard CMS accepts both the username established during set-up or the email address configured for the account as valid username entries during log on.
So Be Sure to Add an Email Address for the Administrator’s Account
You should note that by default, the administrator account created during set-up does not have an email address associated with it. Luckily for me, during account provisioning for other users, I configured an email address for the administrator’s account.
So keep in mind as you deploy your Orchard CMS builds that both the username and email address are acceptable sign in values, and that since by default there is no email associated with the admininistrator´s account, you should enter one as a best practice.