Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -871,4 +871,21 @@ abstract class _OAuth2 extends \IPS\Login\Handler
|
||||
{
|
||||
return isset( $this->settings['client_secret'] ) ? $this->settings['client_secret'] : NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* [Node] Save Add/Edit Form
|
||||
*
|
||||
* @param array $values Values from the form
|
||||
* @return void
|
||||
*/
|
||||
public function saveForm( $values )
|
||||
{
|
||||
/* If we are prompting users we need to disable force syncing */
|
||||
if( isset( $values['login_settings']['real_name'] ) AND $values['login_settings']['real_name'] == 0 )
|
||||
{
|
||||
$values['login_settings']['update_name_changes'] = "disabled";
|
||||
}
|
||||
|
||||
parent::saveForm( $values );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user