Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -11,6 +11,24 @@ class action_login
|
||||
function action_login( & $install )
|
||||
{
|
||||
$this->install =& $install;
|
||||
|
||||
$this->install->ipsclass->login_type = 'username';
|
||||
|
||||
if( $this->install->ipsclass->DB->field_exists( "conf_id", "conf_settings" ) )
|
||||
{
|
||||
$this->install->ipsclass->DB->build_query( array( 'select' => '*', 'from' => 'conf_settings', 'where' => "conf_key IN('ipbli_usertype','converge_login_method')", 'order' => 'conf_key ASC' ) );
|
||||
$this->install->ipsclass->DB->exec_query();
|
||||
|
||||
while( $r = $this->install->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$r['conf_value'] = $r['conf_value'] ? $r['conf_value'] : $r['conf_default'];
|
||||
|
||||
if( $r['conf_value'] )
|
||||
{
|
||||
$this->install->ipsclass->login_type = $r['conf_value'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function run()
|
||||
|
||||
Reference in new issue
Block a user