Skip to content

Added login as judge action in the admin dashboard#325

Merged
MichaelZhao21 merged 2 commits intohackutd:masterfrom
MatthewWiddop:login-as-judge
Apr 16, 2026
Merged

Added login as judge action in the admin dashboard#325
MichaelZhao21 merged 2 commits intohackutd:masterfrom
MatthewWiddop:login-as-judge

Conversation

@MatthewWiddop
Copy link
Copy Markdown
Contributor

Description

This adds an easy way for an admin to log in as a particular judge, such as for debugging. The "/judge/login" route already supports filling the code in automatically so it's a simple redirect.

The option appears under the actions menu as follows:

image

Fixes #312

Type of Change

Delete options that do not apply:

  • New feature (non-breaking change which adds functionality)

Is this a breaking change?

  • Yes
  • No

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 22, 2026

@MatthewWiddop is attempting to deploy a commit to the Michael Zhao's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Contributor

@MichaelZhao21 MichaelZhao21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change the label of the option from "Login" to "Login as Judge"? I feel like "Login" may be a bit confusing. The rest of the code looks good, sorry for the delay in review.

@MatthewWiddop
Copy link
Copy Markdown
Contributor Author

I've renamed the option as requested. I do agree that "Login as Judge" is a much better name.

@MichaelZhao21 MichaelZhao21 self-requested a review April 16, 2026 15:18
@MichaelZhao21 MichaelZhao21 merged commit 80ff469 into hackutd:master Apr 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "login as judge" as an action on admin table

2 participants