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'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">
<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.
Did you fix this issue? Can you share with us?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted