mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-04 00:44:41 +08:00
Removed setting override system due to confusing behaviour
- Was only used to disable registration when LDAP was enabled. - Caused saved option not to show on settings page causing confusion. - Extended setting logic where used to take ldap into account instead of global override. - Added warning on setting page to show registration enable setting is not used while ldap is active. For #1541
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
use BookStack\Auth\Role;
|
||||
use BookStack\Auth\User;
|
||||
|
||||
class Saml2 extends TestCase
|
||||
class Saml2Test extends TestCase
|
||||
{
|
||||
|
||||
public function setUp(): void
|
@ -15,7 +15,7 @@ trait UsesImages
|
||||
if (is_null($fileName)) {
|
||||
$fileName = 'test-image.png';
|
||||
}
|
||||
|
||||
|
||||
return base_path('tests/test-data/' . $fileName);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user