From 13153a62c17db7c84d173434cec7eed29e4593b7 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 6 Aug 2022 23:58:43 +0200 Subject: refactor: Comment out old behaviour --- .../src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src') diff --git a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs index d7dceeb..055820c 100644 --- a/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs +++ b/server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs @@ -1,4 +1,4 @@ -using AspNet.Security.OAuth.GitHub; +//using AspNet.Security.OAuth.GitHub; namespace IOL.GreatOffice.Api.Endpoints.Internal.Account; @@ -10,9 +10,9 @@ public class CreateGithubSessionRoute : RouteBaseSync.WithRequest.WithAc [HttpGet("~/_/account/create-github-session")] public override ActionResult Handle(string next) { return BadRequest("This action is deprecated"); - return Challenge(new AuthenticationProperties { - RedirectUri = next - }, - GitHubAuthenticationDefaults.AuthenticationScheme); + // return Challenge(new AuthenticationProperties { + // RedirectUri = next + // }, + // GitHubAuthenticationDefaults.AuthenticationScheme); } } -- cgit v1.3