diff options
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/appinfo/info.xml | 4 | ||||
-rw-r--r-- | apps/user_ldap/tests/Group_LDAPTest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/appinfo/info.xml b/apps/user_ldap/appinfo/info.xml index c303ef79283..dbf9a736899 100644 --- a/apps/user_ldap/appinfo/info.xml +++ b/apps/user_ldap/appinfo/info.xml @@ -10,7 +10,7 @@ A user logs into Nextcloud with their LDAP or AD credentials, and is granted acc <licence>AGPL</licence> <author>Dominik Schmidt</author> <author>Arthur Schiwon</author> - <version>1.3.1</version> + <version>1.4.0</version> <types> <authentication/> </types> @@ -19,7 +19,7 @@ A user logs into Nextcloud with their LDAP or AD credentials, and is granted acc </documentation> <dependencies> <lib>ldap</lib> - <nextcloud min-version="13" max-version="13" /> + <nextcloud min-version="14" max-version="14" /> </dependencies> <namespace>User_LDAP</namespace> diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index e758bc9bd02..03fd73f261f 100644 --- a/apps/user_ldap/tests/Group_LDAPTest.php +++ b/apps/user_ldap/tests/Group_LDAPTest.php @@ -150,7 +150,7 @@ class Group_LDAPTest extends \Test\TestCase { $access->expects($this->any()) ->method('dn2username') ->will($this->returnCallback(function() { - return 'foobar' . \OCP\Util::generateRandomBytes(7); + return 'foobar' . \OC::$server->getSecureRandom()->generate(7); })); $groupBackend = new GroupLDAP($access,$pluginManager); |