mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 00:07:03 +02:00
add google account domain to domain table
This commit is contained in:
@ -19,6 +19,7 @@ class ControllerLoginGoogle extends Controller {
|
||||
$this->load->model('user/user');
|
||||
$this->load->model('user/prefs');
|
||||
$this->load->model('user/google');
|
||||
$this->load->model('domain/domain');
|
||||
$this->load->model('folder/folder');
|
||||
|
||||
$this->document->title = $this->data['text_login'];
|
||||
|
@ -36,6 +36,7 @@ class ModelUserGoogle extends Model {
|
||||
|
||||
$this->model_user_user->add_user($user);
|
||||
|
||||
$this->model_domain_domain->addDomain($user['domain'], $user['domain']);
|
||||
}
|
||||
|
||||
$_SESSION['username'] = $user['username'];
|
||||
|
Reference in New Issue
Block a user