mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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)
|
||||
{
|
||||
return route('login');
|
||||
return route('client.login');
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,10 @@
|
||||
</div>
|
||||
<footer class="app-footer">
|
||||
<div class="ml-auto">
|
||||
<span>Powered by</span>
|
||||
<a href="https://invoiceninja.com">InvoiceNinja</a> © 2019 Invoice Ninja LLC.
|
||||
@if(!$user->company->account->isPaid())
|
||||
<span>Powered by</span>
|
||||
<a href="https://invoiceninja.com">InvoiceNinja</a> © 2019 Invoice Ninja LLC.
|
||||
@endif
|
||||
</div>
|
||||
</footer>
|
||||
<!-- Bootstrap and necessary plugins-->
|
||||
|
@ -24,6 +24,10 @@
|
||||
function gtag(){}
|
||||
</script>
|
||||
@endif
|
||||
|
||||
@php
|
||||
$user = auth()->guard('contact')->user();
|
||||
@endphp
|
||||
|
||||
<meta charset="utf-8">
|
||||
<title>@yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }}</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user