nemerald-voip / fspbx

FS PBX is a beautiful front end based on Laravel + Vue.js for Freeswitch
Apache License 2.0
13 stars 6 forks source link

Disable 2FA #11

Closed tellco-nor closed 1 month ago

tellco-nor commented 1 month ago

I seem to have it installed. However, I cannot seem to get the e-mail to work for 2FA. Is there a way to disable 2FA?

nemerald-voip commented 1 month ago

try commenting out email-challenge in fortify.php

    'features' => [
        // Features::registration(),
        Features::resetPasswords(),
        // Features::emailVerification(),
        Features::updateProfileInformation(),
        Features::updatePasswords(),
        Features::twoFactorAuthentication([
            'confirm' => true,
            'confirmPassword' => true,
            // 'window' => 5,
        ]),
        // 'email-challenge',
        'remember-cookie',
    ],

The email settings are configured in the .env file. You can follow the Laravel official documentation to set up your email server.

nemerald-voip commented 1 month ago

Follow full installation tutorial and you will not have this issue

https://youtu.be/7v8sepsqnH4

@tellco-nor

nemerald-voip commented 1 month ago

Closing as resolved