From 117f3f8ce490da87dc08e26b00909ed8f3d4cb51 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 19 Sep 2011 23:12:12 -0400 Subject: Don't give back 201 for the HTML view after creating a user. Doing so will prevent the browser from following the Location: header, which is not what HTML users want. --- src/views/pages/users/created.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/pages/users/created.html.php b/src/views/pages/users/created.html.php index d485b77..d3027cc 100644 --- a/src/views/pages/users/created.html.php +++ b/src/views/pages/users/created.html.php @@ -2,7 +2,7 @@ $t = $VARS['template']; $username = $VARS['username']; -$t->status('201 Created'); +//$t->status('201 Created'); header('Location: '.$t->url("users/$username")); $t->header('User created'); /*$t->paragraph("You can go ahead and fill out more of your ". -- cgit v1.2.3-54-g00ecf