mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added google authenticator support to the gui
This commit is contained in:
@ -12,6 +12,8 @@ class ControllerUserSettings extends Controller {
|
||||
|
||||
|
||||
$request = Registry::get('request');
|
||||
$session = Registry::get('session');
|
||||
|
||||
$db = Registry::get('db');
|
||||
|
||||
$this->load->model('user/auth');
|
||||
@ -19,6 +21,10 @@ class ControllerUserSettings extends Controller {
|
||||
$this->load->model('user/user');
|
||||
$this->load->model('group/group');
|
||||
|
||||
require(DIR_BASE . 'system/helper/PHPGangsta_GoogleAuthenticator.php');
|
||||
|
||||
$this->data['ga'] = $this->model_user_prefs->get_ga_settings($session->get('username'));
|
||||
|
||||
$this->document->title = $this->data['text_settings'];
|
||||
|
||||
$d = $r = '';
|
||||
|
Reference in New Issue
Block a user