Configuration

To publish the config file, run:

scripts/artisan.sh vendor:publish --tag=nexus-users-config

Then edit config/nexus-users.php.

You can use it to enable/disable some parts of the functionality:

'enable' => [
    'login' => true,
    'logout' => true,
    'register' => false,
    'verify' => true,
    'reset' => true,
    'confirm' => true,
    'change-password' => true,
    'masquerade' => true,
],

Note: Disabling verify will make the core nexus.verified middleware do nothing, and disabling confirm will make the nexus.sudo middleware do nothing. This means other packages won't break if they are disabled.