Show change password button in self host install

This commit is contained in:
Hillel Coren 2016-01-05 20:53:23 +02:00
parent cd2599fe58
commit c5985ce6c4

View File

@ -71,17 +71,15 @@
</div>
<center>
@if (Utils::isNinja())
@if (Auth::user()->confirmed)
{!! Button::primary(trans('texts.change_password'))
->appendIcon(Icon::create('lock'))
->large()->withAttributes(['onclick'=>'showChangePassword()']) !!}
@elseif (Auth::user()->registered)
@elseif (Auth::user()->registered && Utils::isNinja())
{!! Button::primary(trans('texts.resend_confirmation'))
->appendIcon(Icon::create('send'))
->asLinkTo(URL::to('/resend_confirmation'))->large() !!}
@endif
@endif
{!! Button::success(trans('texts.save'))
->submit()->large()
->appendIcon(Icon::create('floppy-disk')) !!}