mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -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' => 'Login',
|
||||||
'login_prompt' => 'Please Login',
|
'login_prompt' => 'Please Login',
|
||||||
'forgot_password' => 'I forgot my password',
|
'forgot_password' => 'I forgot my password',
|
||||||
|
'ldap_reset_password' => 'Please click here to reset your LDAP password',
|
||||||
'remember_me' => 'Remember Me',
|
'remember_me' => 'Remember Me',
|
||||||
'username_help_top' => 'Enter your <strong>username</strong> to be emailed a password reset link.',
|
'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> ',
|
'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 --}}
|
{{-- Page content --}}
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
|
|
||||||
@if ($snipeSettings->custom_forgot_pass_url)
|
@if ($snipeSettings->custom_forgot_pass_url)
|
||||||
<a href="{{ $snipeSettings->custom_forgot_pass_url }}" rel="noopener">
|
<!-- The admin settings specify an LDAP password reset URL to let's send them there -->
|
||||||
{{ trans('auth/general.forgot_password') }}
|
<div class="col-md-4 col-md-offset-4" style="margin-top: 20px;">
|
||||||
</a>
|
<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
|
@else
|
||||||
|
|
||||||
|
|
||||||
<form class="form" role="form" method="POST" action="{{ url('/password/email') }}">
|
<form class="form" role="form" method="POST" action="{{ url('/password/email') }}">
|
||||||
{!! csrf_field() !!}
|
{!! csrf_field() !!}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in a new issue