mirror of https://github.com/v2ray/v2ray-core
remove unused code
parent
3692429689
commit
3e73e66adb
|
@ -16,10 +16,6 @@ func (v *Account) AsAccount() (protocol.Account, error) {
|
|||
return v, nil
|
||||
}
|
||||
|
||||
func NewAccount() protocol.AsAccount {
|
||||
return &Account{}
|
||||
}
|
||||
|
||||
func (v *ServerConfig) HasAccount(username, password string) bool {
|
||||
if v.Accounts == nil {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue