mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-17 19:58:27 +00:00
- Add a toggle for the phone SMS registration/auth related features - Add the newsletter email registration toggle - Rename and move around views and controllers - Refactor the login and registration forms - Split the registration form in two, email and phone
20 lines
No EOL
804 B
PHP
20 lines
No EOL
804 B
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
@if (Auth::check())
|
|
@include('parts.already_auth')
|
|
@else
|
|
<div class="card mt-3">
|
|
<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('Authenticate', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endsection |