mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 16:34:35 -04:00
[v2] Hide white label for paid users (#3421)
* Control the white label * Remove redirect
This commit is contained in:
parent
e14c3682f2
commit
5a7d6c4a7a
@ -23,6 +23,6 @@ class Authenticate extends Middleware
|
|||||||
*/
|
*/
|
||||||
protected function redirectTo($request)
|
protected function redirectTo($request)
|
||||||
{
|
{
|
||||||
return route('login');
|
return route('client.login');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<footer class="app-footer">
|
<footer class="app-footer">
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
|
@if(!$user->company->account->isPaid())
|
||||||
<span>Powered by</span>
|
<span>Powered by</span>
|
||||||
<a href="https://invoiceninja.com">InvoiceNinja</a> © 2019 Invoice Ninja LLC.
|
<a href="https://invoiceninja.com">InvoiceNinja</a> © 2019 Invoice Ninja LLC.
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<!-- Bootstrap and necessary plugins-->
|
<!-- Bootstrap and necessary plugins-->
|
||||||
|
@ -25,6 +25,10 @@
|
|||||||
</script>
|
</script>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@php
|
||||||
|
$user = auth()->guard('contact')->user();
|
||||||
|
@endphp
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>@yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }}</title>
|
<title>@yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }}</title>
|
||||||
<meta name="description" content="@yield('meta_description')"/>
|
<meta name="description" content="@yield('meta_description')"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user