summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs')
-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
},