fix
This commit is contained in:
parent
400fc49bb6
commit
cfbbf351db
@ -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."));
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user