summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-08-06 23:58:43 +0200
committerivarlovlie <git@ivarlovlie.no>2022-08-06 23:58:43 +0200
commit13153a62c17db7c84d173434cec7eed29e4593b7 (patch)
treecf36d52ef7f9b174d3552915e1a4b8229ee4a3d3 /server/src/Endpoints/Internal
parente74ef7b3f51081674a0f6328d3af70ce01a36dbb (diff)
downloadgreatoffice-13153a62c17db7c84d173434cec7eed29e4593b7.tar.xz
greatoffice-13153a62c17db7c84d173434cec7eed29e4593b7.zip
refactor: Comment out old behaviour
Diffstat (limited to 'server/src/Endpoints/Internal')
-rw-r--r--server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs10
1 files changed, 5 insertions, 5 deletions
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<string>.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);
}
}