Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #364 from bacongobbler/fix-363
Browse files Browse the repository at this point in the history
require user to sign in
  • Loading branch information
bacongobbler authored Jan 10, 2022
2 parents f70f02b + c8dd05c commit 3bef3a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Web/Controllers/AppController.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
using Hippo.Application.Apps.Commands;
using Hippo.Application.Apps.Queries;
using Hippo.Application.Channels.Commands;
using Hippo.Application.Common.Exceptions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Hippo.Web.Controllers;

[Authorize]
public class AppController : WebUIControllerBase
{
[HttpGet]
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Controllers/ChannelController.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using Hippo.Application.Channels.Commands;
using Hippo.Application.Channels.Queries;
using Hippo.Application.Common.Exceptions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Hippo.Web.Controllers;

[Authorize]
public class ChannelController : WebUIControllerBase
{
[HttpGet]
Expand Down
3 changes: 3 additions & 0 deletions src/Web/Controllers/EnvironmentVariableController.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
using Hippo.Application.EnvironmentVariables.Commands;
using Hippo.Application.EnvironmentVariables.Queries;
using Hippo.Application.Common.Exceptions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;


namespace Hippo.Web.Controllers;

[Authorize]
public class EnvironmentVariableController : WebUIControllerBase
{
[HttpGet]
Expand Down

0 comments on commit 3bef3a7

Please sign in to comment.