started work on OTP and disabled registration
This commit is contained in:
25
app/Mail/LoginOtpMail.php
Normal file
25
app/Mail/LoginOtpMail.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class LoginOtpMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public $otp;
|
||||
|
||||
public function __construct($otp)
|
||||
{
|
||||
$this->otp = $otp;
|
||||
}
|
||||
|
||||
public function build()
|
||||
{
|
||||
return $this->subject('Your Login Verification Code')
|
||||
->markdown('emails.auth.otp');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user