mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-27 07:29:19 +00:00
Send a confirmation email when the password is set for the first time Remove the API link from the menu and move it to the footer Allow different domains to be set in the POST /api/accounts endpoints + related tests Cleanup the API tests Update the dependencies
25 lines
No EOL
1.1 KiB
PHP
25 lines
No EOL
1.1 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
@if (Auth::check())
|
|
@include('parts.already_auth')
|
|
@else
|
|
@if ($account->activated)
|
|
<p>Please enter the PIN code was sent to your phone number to finish your authentication.</p>
|
|
@else
|
|
<p>To finish your registration process and set a password please enter the PIN code you just received by SMS.</p>
|
|
@endif
|
|
<div class="card mt-1">
|
|
<div class="card-body">
|
|
{!! Form::open(['route' => 'account.authenticate.phone_confirm']) !!}
|
|
<div class="form-group">
|
|
{!! Form::label('code', 'Code') !!}
|
|
{!! Form::hidden('account_id', $account->id) !!}
|
|
{!! Form::text('code', old('code'), ['class' => 'form-control', 'placeholder' => '1234', 'required']) !!}
|
|
</div>
|
|
{!! Form::submit('Login', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endsection |