Ensures tempdata is set on our member controllers in the correct place and ensures that the RegisterModel doesn't explicitly set the RedirectUrl because we want it to be empty by default.

This commit is contained in:
Shannon
2015-08-27 14:56:42 +02:00
parent b550b9f9d1
commit e3598b99a5
5 changed files with 13 additions and 6 deletions

View File

@@ -28,7 +28,6 @@ namespace Umbraco.Web.Models
{
MemberTypeAlias = Constants.Conventions.MemberTypes.DefaultAlias;
RedirectOnSucces = false;
RedirectUrl = "/";
UsernameIsEmail = true;
MemberProperties = new List<UmbracoProperty>();
LoginOnSuccess = true;