@@ -92,7 +92,7 @@ |
||
| 92 | 92 | // Tenant::set($company); |
| 93 | 93 | $value = Connections::Tenant.$company->id; |
| 94 | 94 | |
| 95 | - }else{ |
|
| 95 | + } else{ |
|
| 96 | 96 | // $value = ''; |
| 97 | 97 | |
| 98 | 98 | } |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | { |
| 56 | 56 | $user = $this->loggableUser($request); |
| 57 | 57 | |
| 58 | - if (! $user) { |
|
| 58 | + if (!$user) { |
|
| 59 | 59 | return false; |
| 60 | 60 | } |
| 61 | 61 | |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | $user = User::whereEmail($request->input('email'))->first(); |
| 80 | 80 | $company = $user->company(); |
| 81 | 81 | $tanent = false; |
| 82 | - if($company) { |
|
| 82 | + if ($company) { |
|
| 83 | 83 | $tanent = true; |
| 84 | 84 | } |
| 85 | 85 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | // Tenant::set($company); |
| 93 | 93 | $value = Connections::Tenant.$company->id; |
| 94 | 94 | |
| 95 | - }else{ |
|
| 95 | + } else { |
|
| 96 | 96 | // $value = ''; |
| 97 | 97 | |
| 98 | 98 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | \Session::put('db', $value); |
| 107 | 107 | |
| 108 | - if (! optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 108 | + if (!optional($user)->currentPasswordIs($request->input('password'))) { |
|
| 109 | 109 | return; |
| 110 | 110 | } |
| 111 | 111 | |