Closed AliGh1 closed 3 years ago
You don't want to add use MustVerifyEmail;
to the User class. You need to make the User class implement the MustVerifyEmail
interface. This is done like this:
class User extends Authenticatable implements MustVerifyEmail
Thank you, it works properly now
Features::emailVerification()
is gone!
@hojabbr are you looking in config/fortify.php?
Description: Hi, I proceeded to enable email verification according to jetstream documentation, but it still does not work I have removed the comment on the config / fortify.php configuration file attribute input item:
'features' => [ Features::registration(), Features::resetPasswords(), Features::emailVerification(), Features::updateProfileInformation(), Features::updatePasswords(), Features::twoFactorAuthentication([ 'confirmPassword' => true, ]), ],
and I implemented the App \ Models \ User class of the MustVerifyEmail interface.use MustVerifyEmail;