改进 验证邮箱提醒
This commit is contained in:
parent
1757f5f1ea
commit
e005a5fef3
@ -1,6 +1,12 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
@if (!auth('web')->user()->hasVerifiedEmail())
|
||||
<x-alert-warning>
|
||||
请先 <a href="{{ route('verification.notice') }}">验证您的邮箱</a>。
|
||||
</x-alert-warning>
|
||||
@endif
|
||||
|
||||
@if (session('token'))
|
||||
<x-alert-warning>
|
||||
<div>
|
||||
|
@ -151,20 +151,9 @@ class="d-none">
|
||||
</nav>
|
||||
|
||||
<main class="py-4">
|
||||
<div class="container">
|
||||
@auth('web')
|
||||
@if (!auth('web')->user()->hasVerifiedEmail())
|
||||
<x-alert-warning>
|
||||
请先 <a href="{{ route('verification.notice') }}">验证您的邮箱</a>。
|
||||
</x-alert-warning>
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
|
||||
<x-alert/>
|
||||
|
||||
<div class="container">
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user