Skip to content

Commit

Permalink
2FA Auth code email
Browse files Browse the repository at this point in the history
  • Loading branch information
atomjoy committed Jan 19, 2024
1 parent 90815b5 commit f3f6386
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ use Proton\Mail\F2aMail;

Route::get('/proton', function () {
// User (required columns: id, name, code)
$user = User::first();
// $user = User::first();

$user = User::factory(1)->make([
'email' => 'user@laravel.com'
])->first();

// Send email sample
Mail::to('user@laravel.com')->send(new DefaultMail());
Expand Down

0 comments on commit f3f6386

Please sign in to comment.