ソースを参照

user login now with a role indicator

master
sp 4年前
コミット
be545e77b3
1個のファイルの変更1行の追加0行の削除
  1. +1
    -0
      apiV1login.go

+ 1
- 0
apiV1login.go ファイルの表示

@@ -48,6 +48,7 @@ func apiV1Login(w http.ResponseWriter, r *http.Request, ss *loan.Session) {

//format response
res.add("login", true)
res.add("role", ss.GetRole())
res.add("Biukop-Session", ss.Id)
res.add("Biukop-Mid", ss.Get("Biukop-Mid"))
res.add("sessionExpire", ss.ExpireStr())

読み込み中…
キャンセル
保存