mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
first login message
This commit is contained in:
@@ -763,7 +763,7 @@ class User extends CI_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
function login() {
|
||||
function login($firstlogin = false) {
|
||||
// Check our version and run any migrations
|
||||
if (!$this->load->is_loaded('Migration')) {
|
||||
$this->load->library('Migration');
|
||||
@@ -773,6 +773,10 @@ class User extends CI_Controller {
|
||||
}
|
||||
$this->migration->current();
|
||||
|
||||
if($firstlogin == true) {
|
||||
$this->session->set_flashdata('success', __("Congrats! Wavelog was successfully installed. You can now login for the first time."));
|
||||
}
|
||||
|
||||
$this->load->model('user_model');
|
||||
$query = $this->user_model->get($this->input->post('user_name', true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user