diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-19 23:12:12 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-19 23:12:12 -0400 |
commit | 117f3f8ce490da87dc08e26b00909ed8f3d4cb51 (patch) | |
tree | eb7d19fda53eb0b6f17a8ddc116380897ba70fd1 /src/views/pages/users | |
parent | 02ec60f86816088e07b737130d618a17a12c3532 (diff) |
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.
Diffstat (limited to 'src/views/pages/users')
-rw-r--r-- | src/views/pages/users/created.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 ". |