Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Mahoney 235 posts 447 karma points
    Oct 27, 2017 @ 00:31
    Chris Mahoney
    0

    Active Directory login without full email

    Hi,

    I'm playing around with AD authentication on a new install of 7.7.4. I've followed the instructions at https://our.umbraco.org/documentation/Reference/Security/ to get AD login set up, and it works if I log in with my full email address and AD password.

    However, the login is rejected if I only enter my username and password (that is, if I type "chris" instead of "[email protected]"), and I can't figure out how to configure Umbraco to allow this.

    I've tried changing my backend user to just have the account name, but in 7.7.4 you can't save the user unless there is an @ in the field. I also considered automatically appending the @domain stuff to the username in C# but I don't know how to "grab" and alter the user's input.

    Help! :)

  • Chris Mahoney 235 posts 447 karma points
    Oct 29, 2017 @ 20:10
    Chris Mahoney
    100

    Apparently I was suffering from "last thing Friday-itis". The solution was trivial: Set usernameIsEmail to false in umbracoSettings.config.

Please Sign in or register to post replies

Write your reply to:

Draft