src/Security/DefaultAdminService.php
public static function hasDefaultAdmin()
    {
        // Check environment if not explicitly set
        if (!isset(static::$has_default_admin)) {
            return !empty(Environment::getEnv('SS_DEFAULT_ADMIN_USERNAME'))
                && !empty(Environment::getEnv('SS_DEFAULT_ADMIN_PASSWORD'));
        }
        return static::$has_default_admin;
    }
public static function hasDefaultAdmin()
    {
        // Check environment if not explicitly set
        if (!isset(static::$has_default_admin)) {
            return !empty(Environment::getEnv('SS_DEFAULT_ADMIN_USERNAME'))
                && !empty(Environment::getEnv('SS_DEFAULT_ADMIN_PASSWORD'));
        }
        return static::$has_default_admin;
    }
public static function hasDefaultAdmin ( ) { // Check environment if not explicitly set if ( ! isset ( static :: $ has_default_admin ) ) { return ! empty ( Environment :: getEnv ( 'SS_DEFAULT_ADMIN_USERNAME' ) ) && ! empty ( Environment :: getEnv ( 'SS_DEFAULT_ADMIN_PASSWORD' ) ) ; } return static :: $ has_default_admin ; }
Check if there is a default admin

@return bool
Check if there is a default admin