Browse Source

cookie expiration enabled

Maxim Sokhatsky 11 years ago
parent
commit
8ca29073cb
2 changed files with 4 additions and 4 deletions
  1. 3 3
      apps/web/priv/static/doc/plans/april2014.htm
  2. 1 1
      apps/web/src/js_session.erl

+ 3 - 3
apps/web/priv/static/doc/plans/april2014.htm

@@ -48,11 +48,11 @@
 
 <h2>5. Finalizing The Client</h2>
 
-        <h3><p>1. Rework Skill Pointing and Statistic</p></h3>
+        <h3><p><font color=red>1. Rework Skill Pointing and Statistic</font></p></h3>
         <h3><p>2. Crate Game</p></h3>
-        <h3><p>3. Player Stats</p></h3>
+        <h3><p><font color=red>3. Player Stats</font></p></h3>
         <h3><p>4. In Game Chat</p></h3>
-        <h3><p>5. Drag & Drop Cards</p></h3>
+        <h3><p><font color=red>5. Drag & Drop Cards</font></p></h3>
         <h3><p>6. Campaigns</p></h3>
 
 <h2>6. Ramazan Sprint</h2>

+ 1 - 1
apps/web/src/js_session.erl

@@ -47,7 +47,7 @@ generate_cookie(State, Ctx) ->
     wf:info(?MODULE,"State: ~p",[SessionCookie]),
     {ok, State, Ctx#context{session=SessionCookie}}.
 
-expired(_Issued,{_TTL,Till}) -> false. %Till < calendar:now_to_datetime(now()).
+expired(_Issued,{_TTL,Till}) -> Till < calendar:now_to_datetime(now()).
 
 lookup_ets(Key) ->
     Res = ets:lookup(cookies,Key),