flexisip-account-manager/flexiapi/resources/views/account/authenticate/email.blade.php
Timothée Jaussoin 48bc542097 Inject the account information as a Javascript variable
Check the registration and authentication status and inject this variable once the email is validated or the account authenticated
Bump the package number
Fix #8
2021-05-05 16:00:07 +02:00

18 lines
No EOL
668 B
PHP

@extends('layouts.main')
@section('content')
@if (Auth::check())
@include('parts.already_auth')
@else
@if ($account->activated)
<p>A unique authentication link was sent by email to <b>{{ $account->email }}</b>.</p>
@include('parts.account_variables', ['account' => $account])
@else
<p>To finish your registration process and set a password please follow the link sent on your email address <b>{{ $account->email }}</b>.</p>
<script type="text/javascript">
setTimeout(function () { location.reload(1); }, 5000);
</script>
@endif
@endif
@endsection