summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal/Account
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-08-05 14:38:30 +0200
committerivarlovlie <git@ivarlovlie.no>2022-08-05 14:38:30 +0200
commit0f3d17a0e136bb7adefe214b4127aa3b6a230b81 (patch)
tree6fdc9dcb6a5d744b26885947c5d70877cca70f08 /server/src/Endpoints/Internal/Account
parentfae5653b9d6c6a318e49217eb4d565252013a904 (diff)
downloadgreatoffice-0f3d17a0e136bb7adefe214b4127aa3b6a230b81.tar.xz
greatoffice-0f3d17a0e136bb7adefe214b4127aa3b6a230b81.zip
feat: Remove github login from public view
Diffstat (limited to 'server/src/Endpoints/Internal/Account')
-rw-r--r--server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs1
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
},