This commit is contained in:
Anton Suhorukov 2022-10-05 15:25:08 +03:00
parent 400fc49bb6
commit cfbbf351db
2 changed files with 2 additions and 3 deletions

View File

@ -226,7 +226,7 @@ public abstract class BaseStartup
}
}
protected IEnumerable<Assembly> GetAutoMapperProfileAssemblies()
private IEnumerable<Assembly> GetAutoMapperProfileAssemblies()
{
return AppDomain.CurrentDomain.GetAssemblies().Where(x => x.GetName().Name.StartsWith("ASC."));
}

View File

@ -100,8 +100,7 @@ public class PortalController : ControllerBase
#region API methods
[HttpPost("register")]
[AllowCrossSiteJson]
[AllowAnonymous]
[AllowCrossSiteJson]
[Authorize(AuthenticationSchemes = "auth:allowskip:registerportal")]
public Task<IActionResult> RegisterAsync(TenantModel model)
{