mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-14 08:44:29 +02:00
Fixes to account logged
This commit is contained in:
parent
c357f392a0
commit
32cdb51812
@ -31,7 +31,10 @@ require SYSTEM . 'init.php';
|
||||
require __DIR__ . '/includes/debugbar.php';
|
||||
|
||||
$loginService = new LoginService();
|
||||
$logged = $loginService->checkLogin();
|
||||
$checkLogin = $loginService->checkLogin();
|
||||
$logged = $checkLogin['logged'];
|
||||
$account_logged = $checkLogin['account'];
|
||||
app()->setAccountLogged($account_logged);
|
||||
|
||||
$statusService = new StatusService();
|
||||
$status = $statusService->checkStatus();
|
||||
|
@ -36,6 +36,7 @@ class App
|
||||
$checkLogin = $loginService->checkLogin();
|
||||
$logged = $checkLogin['logged'];
|
||||
$account_logged = $checkLogin['account'];
|
||||
$this->accountLogged = $account_logged;
|
||||
|
||||
$statusService = new StatusService();
|
||||
$status = $statusService->checkStatus();
|
||||
|
@ -14,8 +14,8 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
<span class="input-group-append">
|
||||
<button type="submit" class="btn btn-info btn-flat">Edit!</button>
|
||||
</span>
|
||||
<button type="submit" class="btn btn-info btn-flat">Edit!</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user