summaryrefslogtreecommitdiff
path: root/activate.php
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-04-19 10:21:52 -0400
committerCarson Fleming <cflems@cflems.net>2017-04-19 10:21:52 -0400
commit1b23808772e1158603b93a24c5df241c46fae756 (patch)
tree21fa27495e26bf507f75f40e876b424bc8febd92 /activate.php
parent832f3c245e66c0a78b2d5732355b381f91acb9ef (diff)
downloadbulletin-1b23808772e1158603b93a24c5df241c46fae756.tar.gz
Changed response to account activation
Diffstat (limited to 'activate.php')
-rw-r--r--activate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/activate.php b/activate.php
index 52175d6..14e45f5 100644
--- a/activate.php
+++ b/activate.php
@@ -6,7 +6,7 @@ $db = new bdb() or fatal($db-error);
$uid = intval($_GET['uid']);
$key = $_GET['key'];
$db->query('UPDATE users SET active = 1 WHERE id = '.$uid.' AND session = \''.bulletin_hash($key).'\'') or fatal($db->error);
-if ($db->affected_rows < 1) fatal('Invalid information provided.');
+if ($db->affected_rows < 1) fatal('Your information is formatted incorrectly.');
setcookie($b_config['c_name'], $uid.';'.$key, 0, $b_config['c_path'], $b_config['c_dom'], $b_config['c_sec'], $b_config['c_http']);
-fatal('Your account is now active, you will be taken to the user dashboard.', $b_config['base_url'].'dash/');
+fatal('Your account is now active, you will now be taken to set up your profile.', $b_config['base_url'].'dash/profile.php');
?>