Update AJAX client with the corrected Autologin functionality
This commit is contained in:
parent
8eff4678b4
commit
2d030afb36
3 changed files with 34 additions and 11 deletions
|
|
@ -294,9 +294,9 @@ if WEBSERVER_ENABLED:
|
|||
# create ajax client processes at /webclientdata
|
||||
from evennia.server.portal import webclient_ajax
|
||||
|
||||
webclient = webclient_ajax.WebClient()
|
||||
webclient.sessionhandler = PORTAL_SESSIONS
|
||||
web_root.putChild("webclientdata", webclient)
|
||||
ajax_webclient = webclient_ajax.AjaxWebClient()
|
||||
ajax_webclient.sessionhandler = PORTAL_SESSIONS
|
||||
web_root.putChild("webclientdata", ajax_webclient)
|
||||
webclientstr = "\n + webclient (ajax only)"
|
||||
|
||||
if WEBSOCKET_CLIENT_ENABLED and not websocket_started:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue