security: use more antiforgery tokens
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
using Disco.Models.UI.Config.DeviceFlag;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Disco.Web.Areas.Config.Models.DeviceFlag
|
||||
{
|
||||
public class CreateModel : ConfigDeviceFlagCreateModel
|
||||
{
|
||||
public Disco.Models.Repository.DeviceFlag DeviceFlag { get; set; }
|
||||
[Required, StringLength(100)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[StringLength(500), DataType(DataType.MultilineText)]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user