mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 13:39:46 -06:00
straight out code because staticcheck error
This commit is contained in:
committed by
Florian Schade
parent
2a259dd3b1
commit
2bc7f2175c
@@ -187,7 +187,7 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
|
||||
if e == nil {
|
||||
suspicious = !isPasswordValid(s.log, a.PasswordProfile.Password, password)
|
||||
} else if bytes.Compare(e.V.([]byte), m) != 0 {
|
||||
} else if !bytes.Equal(e.V.([]byte), m) {
|
||||
suspicious = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user