]> iEval git - gruntmaster-page.git/commitdiff
Use 205 Reset Content in /login
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 20 Jan 2015 12:13:55 +0000 (14:13 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 20 Jan 2015 12:13:55 +0000 (14:13 +0200)
lib/Plack/App/Gruntmaster.pm

index 8aab08c2c7e261f50418d9f5454d44fb25baa1a6..bfddd26a8478df7225910dc663fd66f815d66f74 100644 (file)
@@ -151,7 +151,7 @@ sub dispatch_request{
                sub (/login) {
                        forbid !remote_user;
 
-                       [204, ['Set-Cookie' => "username=".remote_user->id], []]
+                       [205, ['Set-Cookie' => "username=".remote_user->id], []]
                },
 
                sub (/ct/:contest/log/st) { redirect "/st/$_{contest}" },
This page took 0.0275 seconds and 4 git commands to generate.