mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-18 04:48:26 +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
37 lines
No EOL
1.5 KiB
PHP
37 lines
No EOL
1.5 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
<p class="text-center">
|
|
No account yet?
|
|
<a class="btn btn-secondary ml-2" href="{{ route('account.register') }}">Register</a>
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
@if (Auth::check())
|
|
@include('parts.already_auth')
|
|
@else
|
|
{!! Form::open(['route' => 'account.authenticate']) !!}
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
@if (config('app.phone_authentication'))
|
|
{!! Form::label('username', 'Username or phone number') !!}
|
|
{!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username or phone number', 'required']) !!}
|
|
@else
|
|
{!! Form::label('username', 'Username') !!}
|
|
{!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username', 'required']) !!}
|
|
@endif
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
{!! Form::label('password', 'Password') !!}
|
|
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'myPassword', 'required']) !!}
|
|
</div>
|
|
</div>
|
|
|
|
{!! Form::submit('Login', ['class' => 'btn btn-primary btn-centered mt-1']) !!}
|
|
|
|
{!! Form::close() !!}
|
|
|
|
@include('parts.password_recovery')
|
|
@endif
|
|
@endsection |