mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +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
802 B
PHP
20 lines
No EOL
802 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']) !!}
|
|
<div class="form-group">
|
|
{!! Form::label('phone', 'Phone') !!}
|
|
{!! Form::text('phone', old('phone'), ['class' => 'form-control', 'placeholder' => '+123456789', 'required']) !!}
|
|
</div>
|
|
@include('parts.captcha')
|
|
{!! Form::submit('Send the authentication code by SMS', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endsection |