public function updateVerificationByEmail($email)
    {
        // Retrieve user by e-mail
        $user = $this->authModel->where('email', '=', $email)->first();
        if (empty($user)) {
            return false;
        }

        // Update user with a timestamp of when he/her was verified
        return (bool) $user->fill([
            'is_verified' => 1,
            'verified_at' => Carbon::now(),
        ])->save();
    }
public function updateVerificationByEmail($email)
    {
        // Retrieve user by e-mail
        $user = $this->authModel->where('email', '=', $email)->first();
        if (empty($user)) {
            return false;
        }

        // Update user with a timestamp of when he/her was verified
        return (bool) $user->fill([
            'is_verified' => 1,
            'verified_at' => Carbon::now(),
        ])->save();
    }
public function updateVerificationByEmail ( $ email ) { // Retrieve user by e-mail $ user = $ this -> authModel -> where ( 'email' , '=' , $ email ) -> first ( ) ; if ( empty ( $ user ) ) { return false ; } // Update user with a timestamp of when he/her was verified return ( bool ) $ user -> fill ( [ 'is_verified' => 1 , 'verified_at' => Carbon :: now ( ) , ] ) -> save ( ) ; }
Update e-mail verification record by e-mail.

@author Paulius Navickas <pana@nodes.dk>

@param  string $email
@return bool
Update e - mail verification record by e - mail .