Jun 12, 2020
0
Level 4
How to enable Email verification for new users in Spark ?
Hi
Any suggestions, how can i enable email verifications for new uses in Spark, As per documentation i have added this functionality in register() method ?
public function register()
{
parent::register();
Spark::ensureEmailIsVerified();
}
Also i have added these lines to User.php as suggested
https://spark.laravel.com/docs/10.0/email-verification
namespace App;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Laravel\Spark\User as SparkUser;
class User extends SparkUser implements MustVerifyEmail
{
....
}
Any Suggestions ?
Thanks
Please or to participate in this conversation.