mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-15 09:14:30 +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';
|
require __DIR__ . '/includes/debugbar.php';
|
||||||
|
|
||||||
$loginService = new LoginService();
|
$loginService = new LoginService();
|
||||||
$logged = $loginService->checkLogin();
|
$checkLogin = $loginService->checkLogin();
|
||||||
|
$logged = $checkLogin['logged'];
|
||||||
|
$account_logged = $checkLogin['account'];
|
||||||
|
app()->setAccountLogged($account_logged);
|
||||||
|
|
||||||
$statusService = new StatusService();
|
$statusService = new StatusService();
|
||||||
$status = $statusService->checkStatus();
|
$status = $statusService->checkStatus();
|
||||||
|
@ -36,6 +36,7 @@ class App
|
|||||||
$checkLogin = $loginService->checkLogin();
|
$checkLogin = $loginService->checkLogin();
|
||||||
$logged = $checkLogin['logged'];
|
$logged = $checkLogin['logged'];
|
||||||
$account_logged = $checkLogin['account'];
|
$account_logged = $checkLogin['account'];
|
||||||
|
$this->accountLogged = $account_logged;
|
||||||
|
|
||||||
$statusService = new StatusService();
|
$statusService = new StatusService();
|
||||||
$status = $statusService->checkStatus();
|
$status = $statusService->checkStatus();
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<span class="input-group-append">
|
<span class="input-group-append">
|
||||||
<button type="submit" class="btn btn-info btn-flat">Edit!</button>
|
<button type="submit" class="btn btn-info btn-flat">Edit!</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user