Skip to content

Commit

Permalink
DNN-9352: set AddUser always be true when not authenticated.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyhfish committed Feb 10, 2017
1 parent bbd5dcc commit ea048f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DNN Platform/Library/Entities/Modules/UserUserControlBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ public void OnUserUpdateError(UserUpdateErrorArgs e)

#endregion

#region "Properties"

protected override bool AddUser => !Request.IsAuthenticated || base.AddUser;

#endregion

#region Nested type: BaseUserEventArgs

/// -----------------------------------------------------------------------------
Expand Down

0 comments on commit ea048f8

Please sign in to comment.