mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 20:22:18 +00:00
![Dan Brown](/assets/img/avatar_default.png)
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
|