Editing the Ban Reason and Ban Time Period Options
You can edit a banned time period and ban reason.
Adding a Banned Time Period
- Open Components\Enumerations\SecurityEnums.cs.
- Add a new value for the UserBanPeriod enum.
- Open UserBanDropDownList.cs and add a new drop-down item that uses the newly created time period.
- Build the solution.
Adding a Ban Reason
- Open Components\Enumerations\SecurityEnums.cs.
- Add a new value for the UserBanReason enum.
- Open UserBanReasonDropDownList.cs and add a new drop-down item that uses the newly created ban reason.
- Build the solution.