diff options
| -rw-r--r-- | apps/portal/src/app/pages/login.svelte | 7 | ||||
| -rw-r--r-- | server/src/Endpoints/Internal/Account/CreateGithubSessionRoute.cs | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/portal/src/app/pages/login.svelte b/apps/portal/src/app/pages/login.svelte index 898b26f..1ca6b61 100644 --- a/apps/portal/src/app/pages/login.svelte +++ b/apps/portal/src/app/pages/login.svelte @@ -131,13 +131,6 @@ </div> </div> <div class="flex justify-between"> - <Button text="Login with Github" - variant="secondary" - icon="{IconNames.github}" - icon_right_aligned="true" - href={api_base("_/account/create-github-session")} - loading={loginForm.loading} - /> <Button text="Login" type="submit" variant="primary" 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 }, |
