mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
a1b1f8138a
To avoid non-user GET requests (Such as those from email scanners) auto-triggering the confirm submission. Made auto-submit the form via JavaScript in this extra added step with user-link backup to keep existing user flow experience. Closes #3797
28 lines
988 B
PHP
28 lines
988 B
PHP
@extends('layouts.simple')
|
|
|
|
@section('content')
|
|
|
|
<div class="container very-small mt-xl">
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ trans('auth.email_confirm_thanks') }}</h1>
|
|
|
|
<p class="mb-none">{{ trans('auth.email_confirm_thanks_desc') }}</p>
|
|
|
|
<div class="flex-container-row items-center wrap">
|
|
<div class="flex min-width-s">
|
|
@include('common.loading-icon')
|
|
</div>
|
|
<div class="flex min-width-s text-s-right">
|
|
<form component="auto-submit" action="{{ url('/register/confirm/accept') }}" method="post">
|
|
{{ csrf_field() }}
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
<button class="text-button">{{ trans('common.continue') }}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|