Skip to content

Native mail verification not working with jenseggers mongo-db #1759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
McMazalf opened this issue May 17, 2019 · 2 comments
Closed

Native mail verification not working with jenseggers mongo-db #1759

McMazalf opened this issue May 17, 2019 · 2 comments
Labels

Comments

@McMazalf
Copy link

Following the guide to implement Mail verification brings to an error

"Class App\User contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\Auth\MustVerifyEmail::hasVerifiedEmail, Illuminate\Contracts\Auth\MustVerifyEmail::markEmailAsVerified, Illuminate\Contracts\Auth\MustVerifyEmail::sendEmailVerificationNotification)

Does anyone have a fix for this?

@nicolasyousician
Copy link

Hey @McMazalf

This is not related to this package at all. You are implementing a contract that requires you to have three methods in your model. You either write those youself (the error tells you what the methods are) or you implement the following trait Illuminate\Auth\MustVerifyEmail from laravel that contains an out of the box implementation for you.

@divine divine added the bug label Feb 15, 2020
@divine
Copy link
Contributor

divine commented Feb 15, 2020

Closed, merged in #1933

@divine divine closed this as completed Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants