Last active
October 11, 2016 16:37
-
-
Save introwit/e859f2b430d570b2c7a552dea7c75532 to your computer and use it in GitHub Desktop.
Email Verification blog - 6
This file contains 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 | |
// Set the verified status to true and make the email token null | |
public function verified() | |
{ | |
$this->verified = 1; | |
$this->email_token = null; | |
$this->save(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment