diff options
Diffstat (limited to 'server.lua')
-rw-r--r-- | server.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ return function(env) local function log_action(txn, params, s) params.user = mnode.name((s or session).user) - mnode.insert(txn:fetch('/auth/action-log'), params) + mnode.insert(txn:fetch('/aaa/action-log'), params) end local function log_session_event(action, session) @@ -97,7 +97,7 @@ return function(env) if method == 'POST' then if not data.username or not data.password then return 401 end local user = - aconf.start_txn():fetch('/auth/users')[data.username] + aconf.start_txn():fetch('/aaa/users')[data.username] if user and user:check_password(data.password) then local sid repeat |