mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Nicer formatting of the page if custom logout [ch15660]
This commit is contained in:
parent
5edbb4b229
commit
49415806e1
|
@ -8,6 +8,7 @@ return [
|
|||
'login' => 'Login',
|
||||
'login_prompt' => 'Please Login',
|
||||
'forgot_password' => 'I forgot my password',
|
||||
'ldap_reset_password' => 'Please click here to reset your LDAP password',
|
||||
'remember_me' => 'Remember Me',
|
||||
'username_help_top' => 'Enter your <strong>username</strong> to be emailed a password reset link.',
|
||||
'username_help_bottom' => 'Your username and email address <em>may</em> be the same, but may not be, depending on your configuration. If you cannot remember your username, contact your administrator. <br><br><strong>Usernames without an associated email address will not be emailed a password reset link.</strong> ',
|
||||
|
|
|
@ -4,12 +4,22 @@
|
|||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
|
||||
@if ($snipeSettings->custom_forgot_pass_url)
|
||||
<a href="{{ $snipeSettings->custom_forgot_pass_url }}" rel="noopener">
|
||||
{{ trans('auth/general.forgot_password') }}
|
||||
</a>
|
||||
<!-- The admin settings specify an LDAP password reset URL to let's send them there -->
|
||||
<div class="col-md-4 col-md-offset-4" style="margin-top: 20px;">
|
||||
<div class="box box-header text-center">
|
||||
<h3 class="box-title">
|
||||
<a href="{{ $snipeSettings->custom_forgot_pass_url }}" rel="noopener">
|
||||
{{ trans('auth/general.ldap_reset_password') }}
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@else
|
||||
|
||||
|
||||
<form class="form" role="form" method="POST" action="{{ url('/password/email') }}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="container">
|
||||
|
|
Loading…
Reference in a new issue