mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-07-28 19:48:33 +00:00
fix: ss2022 not working as expect
fix: minor bugs
This commit is contained in:
@@ -168,7 +168,7 @@ func (c *Controller) buildUserTag(user *api.UserInfo) string {
|
||||
}
|
||||
|
||||
func (c *Controller) checkShadowsocksPassword(password string, method string) (string, error) {
|
||||
if c.panelType == "V2board" {
|
||||
if strings.Contains(c.panelType, "V2board") {
|
||||
var userKey string
|
||||
if len(password) < 16 {
|
||||
return "", fmt.Errorf("shadowsocks2022 key's length must be greater than 16")
|
||||
|
Reference in New Issue
Block a user