add google account domain to domain table

This commit is contained in:
SJ 2013-09-27 15:28:19 +02:00
parent 187503887a
commit 2be9717237
2 changed files with 2 additions and 0 deletions

View File

@ -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'];

View File

@ -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'];