Comment on page
Email Settings
Update Email SMTP Configuration details
Log in to the admin account and select
Settings > Email Settings
from the sidebar menu.Find the Email SMTP Settings section and customize the following fields.
- Host Name
- Port Number
- User Name
- Password
- Encryption (SSL or TLS)
- From Address
- From Name
Finally, click on the SAVE button to update the changes.
The application MUST HAVE a working SMTP configuration for user registration and password resets.
By default, Email Verification is mandatory in the application. If you wish, you can disable the email verification feature by following the below three steps.
CAUTION
It is highly recommended not to disable the email verification feature to prevent fake and spammy registrations.
Comment the
Features::emailVerification()
line from features array in the config/fortify.php
file.Before:
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([
'confirmPassword' => true,
]),
],
After:
'features' => [
Features::registration(),
Features::resetPasswords(),
//Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([
'confirmPassword' => true,
]),
],
Remove
MustVerifyEmail
contract implementation from the User
class by modifying the app/Models/User.php
file.Before:
class User extends Authenticatable implements Wallet, MustVerifyEmail
After:
class User extends Authenticatable implements Wallet
Finally, comment the
MustVerifyEmail
contract from the imports in the app/Models/User.php
file.Before:
use Illuminate\Contracts\Auth\MustVerifyEmail;
After:
//use Illuminate\Contracts\Auth\MustVerifyEmail;
If you wish to enable the email verification again, do the opposite of the above steps.
Last modified 1yr ago