Copied to clipboard

Flag this post as spam?

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

  • Janis Z 3 posts 75 karma points
    Jul 12, 2018 @ 09:31
    Janis Z

    ValidateUser doesn't get called


    I'm new to using Umbraco. I'm using Umbraco 7.11.1 (latest as of now). I'm trying to extend login functionality for users, more specifically I want to perform additional actions during backoffice login process.

    So far I created class to extend UsersMembershipProvider:

        public class ExternalUsersMembershipProvider : UsersMembershipProvider
        public override bool ValidateUser(string username, string password)
            // custom logic
            return base.ValidateUser(username, password);


        <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
        <clear />
        <add name="UsersMembershipProvider" type="XXX.Auth.ExternalUsersMembershipProvider" />
        <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="10" useLegacyEncoding="false" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" allowManuallyChangingPassword="false" />

    When trying to login, ValidateUser method doesn't seem to get executed at all.

    Any ideas? Thanks.

  • Alex Skrypnyk 4975 posts 18106 karma points MVP 2x admin c-trib
    Nov 12, 2018 @ 11:08
    Alex Skrypnyk

    Hi Janis

    Did you fix this issue? Can you share with us?


Please Sign in or register to post replies

Write your reply to: