summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/user.php4
-rw-r--r--application/views/user/registered.php3
2 files changed, 7 insertions, 0 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index 94791a5c0..a32b930d2 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -165,6 +165,10 @@ class User extends CI_Controller {
DELETE FROM invitations
WHERE `key` = ?
", array($key));
+ $this->load->view($this->var->view_dir.'header', $this->data);
+ $this->load->view($this->var->view_dir.'registered', $this->data);
+ $this->load->view($this->var->view_dir.'footer', $this->data);
+ return;
} else {
$values["username"] = $username;
$values["email"] = $email;
diff --git a/application/views/user/registered.php b/application/views/user/registered.php
new file mode 100644
index 000000000..f13006aae
--- /dev/null
+++ b/application/views/user/registered.php
@@ -0,0 +1,3 @@
+<div class="center">
+ <p>Your account has been created, you may log in now.</p>
+</div>