mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Fix #3618: Some LDAP CLI commands requires a authClientId parameter
This commit is contained in:
parent
1ce9a3b205
commit
596370c99f
@ -12,6 +12,7 @@ HumHub Change Log
|
||||
- Fix #3552: Updated to Yii - AuthClient 2.2+ library
|
||||
- Fix #3588: OEmbed CSS class not provided
|
||||
- Fix #3609: LDAP paging control limits max. users
|
||||
- Fix #3618: Some LDAP CLI commands requires a authClientId parameter
|
||||
|
||||
|
||||
1.3.14 (June 26, 2019)
|
||||
|
@ -165,7 +165,7 @@ class LdapController extends \yii\console\Controller
|
||||
* @param string $id the auth client id (default: ldap)
|
||||
* @return int status code
|
||||
*/
|
||||
public function actionMappingClear($id)
|
||||
public function actionMappingClear($id = 'ldap')
|
||||
{
|
||||
$this->stdout("*** LDAP Flush user id mappings for AuthClient ID: " . $id . "\n\n");
|
||||
User::updateAll(['authclient_id' => new Expression('NULL')], ['auth_mode' => $id]);
|
||||
@ -181,7 +181,7 @@ class LdapController extends \yii\console\Controller
|
||||
* @param string $id the auth client id (default: ldap)
|
||||
* @return int status code
|
||||
*/
|
||||
public function actionMappingRebuild($id)
|
||||
public function actionMappingRebuild($id = 'ldap')
|
||||
{
|
||||
$this->stdout("*** LDAP ReMap Users for AuthClient ID: " . $id . "\n\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user