diff --git a/AsbCloudWebApi/Controllers/AuthController.cs b/AsbCloudWebApi/Controllers/AuthController.cs index 225af77d..6cf23e7e 100644 --- a/AsbCloudWebApi/Controllers/AuthController.cs +++ b/AsbCloudWebApi/Controllers/AuthController.cs @@ -63,7 +63,7 @@ namespace AsbCloudWebApi.Controllers { const string roleName = "Администратор"; if (!User.IsInRole(roleName)) - return Forbid($"You must be in {roleName}."); + return Forbid($"You must be an {roleName}."); var code = authService.Register(user); return code switch