How to dektrium auto register after login

'modules' => [
    'user' => [
        'class' => 'dektrium\user\Module',
        'enableUnconfirmedLogin' => true,
        'enableConfirmation' => false,
        'cost' => 12,
        'admins' => [
            'admin'
        ],
        'layout' => '@frontend/themes/login/views/layouts/main.php',
        'controllerMap' => [
            'registration' => 'frontend\controllers\user\RegistrationController',
            'security' => 'frontend\controllers\user\SecurityController',
            'profile' => 'frontend\controllers\user\ProfileController',
        ],
        'modelMap' => [
            'RegistrationForm' => 'frontend\models\RegistrationForm',
        ],

    ]
]

How do you login without registering?

no, i need register before login

You cannot auto register, you have to present the form first and then register on submission. The docs are clear on that.

If you mean creating default user then make a migration script and run it