forked from filipg/gonito
HowTo accessible even if not authorized
This commit is contained in:
parent
9b75d75cbd
commit
8a38fb27af
@ -168,6 +168,7 @@ instance Yesod App where
|
|||||||
isAuthorized DashboardR _ = return Authorized
|
isAuthorized DashboardR _ = return Authorized
|
||||||
|
|
||||||
isAuthorized (ShowChallengeR _) _ = return Authorized
|
isAuthorized (ShowChallengeR _) _ = return Authorized
|
||||||
|
isAuthorized (ChallengeHowToR _) _ = return Authorized
|
||||||
isAuthorized (ChallengeReadmeR _) _ = return Authorized
|
isAuthorized (ChallengeReadmeR _) _ = return Authorized
|
||||||
isAuthorized (ChallengeAllSubmissionsR _) _ = return Authorized
|
isAuthorized (ChallengeAllSubmissionsR _) _ = return Authorized
|
||||||
isAuthorized (ChallengeGraphDataR _) _ = return Authorized
|
isAuthorized (ChallengeGraphDataR _) _ = return Authorized
|
||||||
|
Loading…
Reference in New Issue
Block a user