mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX has_default_admin was using $default_admin instead of $default_username
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43762 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
95ea169907
commit
88da4cf399
@ -525,7 +525,7 @@ class Security extends Controller {
|
||||
* Check that the default admin account has been set.
|
||||
*/
|
||||
public static function has_default_admin() {
|
||||
return !empty(self::$default_admin) && !empty(self::$default_password);
|
||||
return !empty(self::$default_username) && !empty(self::$default_password);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user