Edycja domyślnego szablonu emaila

0

Cześć!

Korzystam z Laravel do tworzenia kont oraz ich weryfikacji: https://laravel.com/docs/5.7/verification

Ktoś wie może gdzie znajduje się szablon emaila, który jest wysyłany po rejestracji, bo w folderze resources/views nie ma tego szablonu, w folderze app/ nie ma nawet klasy mailable.

Chodzi mi o domyślny szablon emaila, który jest wysyłany po rejestracji:
email.png

Cały kod mam domyślny i wszystko wygenerowane przy pomocy komend artisan.

app/User.php

<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable implements MustVerifyEmail
{
    use Notifiable;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name', 'email', 'password',
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'password', 'remember_token',
    ];
}

/routes/web.php

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', 'PagesController@index');

Auth::routes(['verify' => true]);

Route::get('/home', 'HomeController@index');

app\Http\Controllers\HomeController.php

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->middleware('auth');
        $this->middleware('verified');
    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        return view('home');
    }
}
0

Przyznam szczerze, że jest to dosyć nieintuicyjne i ciężko doszukać się co gdzie jest w pobranym /vendor. Spodziewałem się jakiegoś prostego pliku blade :) Rozumiem, że są tam przechowywane wszystkie domyślne szablony emaili dla potwierdzenia konta i resetowania hasła?

0

Huh? Po co w ogóle zaglądasz do vendor?

0

Zwykle to sie szuka po słowach kluczowych w projekcie, patrzysz gdzie wystepuja.

1 użytkowników online, w tym zalogowanych: 0, gości: 1