mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Clean up
This commit is contained in:
parent
ed20376bf5
commit
daf65587ca
@ -41,10 +41,20 @@ class ContactHashLoginController extends Controller
|
||||
{
|
||||
return redirect($this->setRedirectPath());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generic error page for client portal.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function errorPage()
|
||||
{
|
||||
return render('generic.error', ['title' => session()->get('title'), 'notification' => session()->get('notification'), 'account' => auth()->guard('contact')?->user()?->user?->account, 'company' => auth()->guard('contact')?->user()?->user?->company]);
|
||||
return render('generic.error', [
|
||||
'title' => session()->get('title'),
|
||||
'notification' => session()->get('notification'),
|
||||
'account' => auth()->guard('contact')?->user()?->user?->account,
|
||||
'company' => auth()->guard('contact')?->user()?->user?->company
|
||||
]);
|
||||
}
|
||||
|
||||
private function setRedirectPath()
|
||||
|
Loading…
x
Reference in New Issue
Block a user