mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Bug fixes
This commit is contained in:
parent
bf85aa7ddd
commit
c38577e0a8
@ -113,7 +113,7 @@ class AccountController extends BaseController
|
||||
event(new UserSignedUp());
|
||||
event(new UserLoggedIn());
|
||||
|
||||
$redirectTo = Input::get('redirect_to', 'invoices/create');
|
||||
$redirectTo = Input::get('redirect_to') ?: 'invoices/create';
|
||||
return Redirect::to($redirectTo)->with('sign_up', Input::get('sign_up'));
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ class Invitation extends EntityModel
|
||||
if ($iframe_url) {
|
||||
return "{$iframe_url}/?{$this->invitation_key}";
|
||||
} else if ($this->account->subdomain) {
|
||||
$url = Utils::replaceSubdomain($url, $this->subdomain);
|
||||
$url = Utils::replaceSubdomain($url, $this->account->subdomain);
|
||||
}
|
||||
|
||||
return "{$url}/view/{$this->invitation_key}";
|
||||
|
Loading…
Reference in New Issue
Block a user