hackutd / jury

An all-in-one hackathon judging platform, created with modern technologies aimed at optimizing the user experience of hackers, judges, and organizers.
https://jury.mikz.dev
MIT License
11 stars 18 forks source link

[Bug] Check and redirect for logged in on settings page #173

Open MichaelZhao21 opened 2 weeks ago

MichaelZhao21 commented 2 weeks ago

What Happened?

image

Steps to Reproduce

  1. Go to https://jury-dev.mikz.dev/admin/settings without having logged into the admin dashboard
  2. error + no redirect :(

What device(s) are you seeing this issue on?

No response

What browser are you seeing this issue on?

No response

Possible Solutions

Add a check for logged in as admin before doing other checks and redirect if not logged in.

Additional Info

No response

zaheer-Khan3260 commented 2 weeks ago

Hey @MichaelZhao21 i can solve this issue please assign it to me.

MichaelZhao21 commented 2 weeks ago

@zaheer-Khan3260 status on this?