From f953eba8d7c9e362fd18a311367a6fc7b9b9cac4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 11 Apr 2012 00:10:58 +0200 Subject: Show confirmation after login Some users might expect confirmation emails, but we don't send those (yet?). Signed-off-by: Florian Pritz --- application/controllers/user.php | 4 ++++ application/views/user/registered.php | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 application/views/user/registered.php 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 @@ +
+

Your account has been created, you may log in now.

+
-- cgit v1.2.3-24-g4f1b