pwncollege / dojo

Infrastructure powering the pwn.college dojo
https://pwn.college
BSD 2-Clause "Simplified" License
301 stars 100 forks source link

Minor UI Bug Fix: double click when adding student id for first time #535

Closed etrickel closed 3 months ago

etrickel commented 3 months ago

Minor bug where the button does not submit on the first attempt when setting student id on the identity page.

This occurs because the user is not a student yet and the page dies because it tries to access official, which is only returned when the user is a student in the Dojo.