mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Check registered in upgrade modal
This commit is contained in:
parent
b371c03f80
commit
efd2f24102
@ -65,7 +65,10 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function showUpgradeModal() {
|
||||
@if ( ! Auth::check() || ! Auth::user()->confirmed)
|
||||
@if ( ! Auth::check() || ! Auth::user()->registered)
|
||||
swal("{!! trans('texts.please_register') !!}");
|
||||
return;
|
||||
@elseif ( ! Auth::check() || ! Auth::user()->confirmed)
|
||||
swal("{!! trans('texts.confirmation_required') !!}");
|
||||
return;
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user