U4-4781 - Specify assembly name for the Membership/User providers

Created by Aaron Powell 29 Apr 2014, 11:48:47 Updated by Shannon Deminick 30 Apr 2014, 01:24:20

I've hit a problem with Chauffeur, it can't load the Membership or User Providers because it tries to find the classes in the System.Web assembly, not the Umbraco assembly where they actually exist.

To solve this if you specify the assembly explicitly in the web.config, so you have:

<add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="false" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" />

This has no impact when running via a web context but would save me working in some dodgy hacks ;).

Comments

Aaron Powell 29 Apr 2014, 11:52:27

Pull request - https://github.com/umbraco/Umbraco-CMS/pull/365


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.0, 7.1.2

Due in version: 6.2.0, 7.1.2

Sprint:

Story Points:

Cycle: