Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 41cc774

Browse files
authored
Merge pull request laravel#12 from garygreen/verify-as-post
Use POST to send email verification.
2 parents fe4a36d + 906fbb7 commit 41cc774

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Auth/bootstrap-stubs/auth/verify.stub

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
@endif
1616

1717
{{ __('Before proceeding, please check your email for a verification link.') }}
18-
{{ __('If you did not receive the email') }}, <a href="{{ route('verification.resend') }}">{{ __('click here to request another') }}</a>.
18+
{{ __('If you did not receive the email') }},
19+
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
20+
@csrf
21+
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">{{ __('click here to request another') }}</button>.
22+
</form>
1923
</div>
2024
</div>
2125
</div>

0 commit comments

Comments
 (0)