Adds more methods to the MembershipHelper, updates the RegisterModel and obsoletes the standard ctor so biz logic is not happening in the model, updates the snippets to use the correct way. Fixes an issue in the membership repo for persisting new members when the member type doesn't contain all the built-in props.

This commit is contained in:
Shannon
2014-01-28 18:59:27 +11:00
parent 3b639e61b2
commit 6fefcacc61
12 changed files with 105 additions and 49 deletions

View File

@@ -24,7 +24,7 @@ namespace Umbraco.Web.Controllers
MembershipCreateStatus status;
var member = Membership.CreateUser(model.Username, model.Password, model.Email,
//TODO: Support q/a http://issues.umbraco.org/issue/U4-3213
"", "",
null, null,
true, out status);
switch (status)