hfurubotten / autograder

Automatic management and build tool for lab assignments. Moved to organization autograde: https://github.com/autograde
https://github.com/autograde
Other
14 stars 7 forks source link

web: remove redirect argument to checkMember/Teacher/Admin functions #66

Open meling opened 8 years ago

meling commented 8 years ago

The redirect bool argument is confusing. Sometimes we do redirect in the functions and sometimes we check if error, then redirect outside the functions. We should let the user decide based on the error return value what to do and not require a bool to decide internally.