Created
February 18, 2022 10:15
-
-
Save mohammad-fouladgar/802830fcde11e557b91ce0cf8eb8b78f to your computer and use it in GitHub Desktop.
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 | |
namespace App\Models; | |
use Fouladgar\OTP\Concerns\HasOTPNotify; | |
use Fouladgar\OTP\Contracts\OTPNotifiable; | |
use Illuminate\Foundation\Auth\User as Authenticatable; | |
use Illuminate\Notifications\Notifiable; | |
class User extends Authenticatable implements OTPNotifiable | |
{ | |
use Notifiable; | |
use HasOTPNotify; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment