summaryrefslogtreecommitdiff
path: root/lib/settingsaction.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-02 06:44:54 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-02 06:44:54 +0000
commit798984381f9ee40681d1feb4a7bef72460fe39f2 (patch)
tree8bcf6b27a9efe7f53a2b1e5fd23d7f4f2789bc51 /lib/settingsaction.php
parent928d3bd68c62d2e35594fb4196216e1f9fd363a2 (diff)
parent36f73bffbc717d895370e905070c310062127529 (diff)
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/settingsaction.php')
-rw-r--r--lib/settingsaction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index 53c807c6f..db20c5804 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -78,9 +78,9 @@ class SettingsAction extends Action
common_set_returnto($this->selfUrl());
$user = common_current_user();
if ($user->hasOpenID()) {
- common_redirect(common_local_url('openidlogin'));
+ common_redirect(common_local_url('openidlogin'), 303);
} else {
- common_redirect(common_local_url('login'));
+ common_redirect(common_local_url('login'), 303);
}
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->handlePost();