Implement user password checking
This commit is contained in:
parent
8e2d2cce3e
commit
996ecb9f80
25 changed files with 10762 additions and 224 deletions
|
|
@ -47,13 +47,6 @@ var socketInstanceActions = map[string]InstanceAction{
|
|||
return instance.Drush().Cron(str)
|
||||
},
|
||||
},
|
||||
"login": {
|
||||
NumParams: 1,
|
||||
HandleResult: func(_ *Info, instance *wisski.WissKI, params ...string) (any, error) {
|
||||
link, err := instance.Drush().Login(stream.FromNil(), params[0])
|
||||
return link, err
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func (info *Info) serveSocket(conn httpx.WebSocketConnection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue