diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-08-05 14:38:30 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-08-05 14:38:30 +0200 |
| commit | 0f3d17a0e136bb7adefe214b4127aa3b6a230b81 (patch) | |
| tree | 6fdc9dcb6a5d744b26885947c5d70877cca70f08 /server/src | |
| parent | fae5653b9d6c6a318e49217eb4d565252013a904 (diff) | |
| download | greatoffice-0f3d17a0e136bb7adefe214b4127aa3b6a230b81.tar.xz greatoffice-0f3d17a0e136bb7adefe214b4127aa3b6a230b81.zip | |
feat: Remove github login from public view
Diffstat (limited to 'server/src')
| -rw-r--r-- | server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs index 0cd1aa5..d7dceeb 100644 --- a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs +++ b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs @@ -9,6 +9,7 @@ public class CreateGithubSessionRoute : RouteBaseSync.WithRequest<string>.WithAc [AllowAnonymous] [HttpGet("~/_/account/create-github-session")] public override ActionResult Handle(string next) { + return BadRequest("This action is deprecated"); return Challenge(new AuthenticationProperties { RedirectUri = next }, |
