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