parsav  Diff

Differences From Artifact [4ebb6db558]:

To Artifact [5e16c3f22b]:


   115    115   			if aid == 0 then
   116    116   				lib.render.login(co, nil, nil, lib.str.plit 'authentication failure')
   117    117   			else
   118    118   				var sesskey: int8[lib.session.maxlen + #lib.session.cookiename + #"=; Path=/" + 1]
   119    119   				do var p = &sesskey[0]
   120    120   					p = lib.str.ncpy(p, [lib.session.cookiename .. '='], [#lib.session.cookiename + 1])
   121    121   					p = p + lib.session.cookie_gen(co.srv.cfg.secret, aid, lib.osclock.time(nil), p)
   122         -					lib.dbg('sending cookie',&sesskey[0])
          122  +					lib.dbg('sending cookie ',{&sesskey[0],15})
   123    123   					p = lib.str.ncpy(p, '; Path=/', 9)
   124    124   				end
   125    125   				co:reroute_cookie('/', &sesskey[0])
   126    126   			end
   127    127   		end
   128    128   		if act.ptr ~= nil and fakeact == false then act:free() end
   129    129   	else