fixed checking session active state bug

beta
Ro 4 years ago
parent f3aa86d472
commit 1288bbc32b

@ -29,12 +29,10 @@ class Session
Token::validate($data["token"], $secret) && Token::validate($data["token"], $secret) &&
Token::validateExpiration($data["token"], $secret) Token::validateExpiration($data["token"], $secret)
) { ) {
true; return true;
} else { } else {
false; return false;
} }
return true;
} else { } else {
return false; return false;
} }

@ -12,7 +12,7 @@
<div id="dash-index"> <div id="dash-index">
<div id="dash-index-wrapper"> <div id="dash-index-wrapper">
STATUS: STATUS:
{{ you }} {{ status }}
{% if status %} {% if status %}
DASH INDEX DASH INDEX
{% else %} {% else %}

Loading…
Cancel
Save