mirror of
https://shylinux.com/x/icebergs
synced 2025-04-27 17:58:29 +08:00
opt login
This commit is contained in:
parent
54c26c1ea3
commit
cf3fb95783
@ -54,8 +54,9 @@ func init() {
|
|||||||
|
|
||||||
P_HEADER: {Name: "/header", Help: "标题栏", Action: map[string]*ice.Action{
|
P_HEADER: {Name: "/header", Help: "标题栏", Action: map[string]*ice.Action{
|
||||||
"auth": {Name: "auth space", Help: "用户授权", Hand: func(m *ice.Message, arg ...string) {
|
"auth": {Name: "auth space", Help: "用户授权", Hand: func(m *ice.Message, arg ...string) {
|
||||||
if m.Option(ice.MSG_USERPOD) != "" {
|
if pod := m.Option(kit.SSH_POD); pod != "" {
|
||||||
m.Cmd(web.SPACE, m.Option(ice.MSG_USERPOD), m.Prefix(P_HEADER), kit.MDB_ACTION, "auth", arg)
|
m.Option(kit.SSH_POD, "")
|
||||||
|
m.Cmd(web.SPACE, pod, m.Prefix(P_HEADER), kit.MDB_ACTION, "auth", arg)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user