Created
August 8, 2017 11:08
-
-
Save ianfagg/93cd6908963ad05f1408f9789034e667 to your computer and use it in GitHub Desktop.
Spark user verification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Listeners; | |
use Jrean\UserVerification\Events\VerificationEmailSent; | |
class AlertVerificationEmailSent | |
{ | |
/** | |
* Create the event listener. | |
* | |
* @return void | |
*/ | |
public function __construct() | |
{ | |
// | |
} | |
/** | |
* Handle the event. | |
* | |
* @param VerificationEmailSent $event | |
* @return void | |
*/ | |
public function handle(VerificationEmailSent $event) | |
{ | |
return redirect('/login')->with('status', 'An activation email has been sent to your email address, please follow the instructions it contains! If you cannot find it try checking your \'Junk\' folder?'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment