Obsoletes the RedirectOnSucces on the RegisterModel as it is not needed. Adds RedirectUrl to the ProfileModel and updates the controller to redirect properly (ensures it doesn't just redirect to home!)

This commit is contained in:
Shannon
2014-02-10 16:46:45 +11:00
parent 2bb58b6fca
commit 0bfd032fad
6 changed files with 57 additions and 26 deletions

View File

@@ -59,5 +59,11 @@ namespace Umbraco.Web.Models
/// Adding items to this list on the front-end will not add properties to the member in the database.
/// </remarks>
public List<UmbracoProperty> MemberProperties { get; set; }
/// <summary>
/// The path to redirect to when update is successful, if not specified then the user will be
/// redirected to the current Umbraco page
/// </summary>
public string RedirectUrl { get; set; }
}
}