mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
add google account domain to domain table
This commit is contained in:
parent
187503887a
commit
2be9717237
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user