mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Use sessid and not token and fix get_username
This commit is contained in:
+2
-2
@@ -77,8 +77,8 @@ struct APIRouter
|
||||
|
||||
env.session.string "token", token
|
||||
send_json env, {
|
||||
"success" => true,
|
||||
"token" => token,
|
||||
"success" => true,
|
||||
"session_id" => env.session.id,
|
||||
}.to_json
|
||||
rescue e
|
||||
Logger.error e
|
||||
|
||||
Reference in New Issue
Block a user