rollback security change as it affects installer - will need to evaluate more thoroughly
This commit is contained in:
parent
7f9e47edb6
commit
db3309d9dd
|
@ -22,7 +22,6 @@ namespace Oqtane.Controllers
|
|||
|
||||
// GET: api/<controller>
|
||||
[HttpGet]
|
||||
[Authorize(Roles = Constants.HostRole)]
|
||||
public IEnumerable<Tenant> Get()
|
||||
{
|
||||
return Tenants.GetTenants();
|
||||
|
@ -30,7 +29,6 @@ namespace Oqtane.Controllers
|
|||
|
||||
// GET api/<controller>/5
|
||||
[HttpGet("{id}")]
|
||||
[Authorize(Roles = Constants.HostRole)]
|
||||
public Tenant Get(int id)
|
||||
{
|
||||
return Tenants.GetTenant(id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user