mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-19 06:08:27 +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
28 lines
No EOL
874 B
PHP
28 lines
No EOL
874 B
PHP
@extends('layouts.account')
|
|
|
|
@section('content')
|
|
|
|
<h2>Change my account email address</h2>
|
|
|
|
@if (!empty($account->email))
|
|
<p>Currently: {{ $account->email }}</p>
|
|
@else
|
|
<p>No email yet</p>
|
|
@endif
|
|
|
|
{!! Form::open(['route' => 'account.email.update']) !!}
|
|
<div class="form-group">
|
|
{!! Form::label('email', 'New email') !!}
|
|
{!! Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => 'bob@example.net', 'required']) !!}
|
|
</div>
|
|
<div class="form-group">
|
|
{!! Form::label('email_confirmation', 'Email confirmation') !!}
|
|
{!! Form::email('email_confirmation', old('email_confirm'), ['class' => 'form-control', 'placeholder' => 'bob@example.net', 'required']) !!}
|
|
</div>
|
|
|
|
{!! Form::hidden('email_current', $account->email) !!}
|
|
|
|
{!! Form::submit('Change', ['class' => 'btn btn-primary btn-centered']) !!}
|
|
{!! Form::close() !!}
|
|
|
|
@endsection |