| 159 | } |
| 160 | |
| 161 | type fakeUserInternalAPI struct { |
| 162 | UserInternalAPIForLogin |
| 163 | DeletedTokens []string |
| 164 | } |
| 165 | |
| 166 | func (ua *fakeUserInternalAPI) QueryAccountByPassword(ctx context.Context, req *uapi.QueryAccountByPasswordRequest, res *uapi.QueryAccountByPasswordResponse) error { |
| 167 | if req.PlaintextPassword == "invalidpassword" { |
nothing calls this directly
no outgoing calls
no test coverage detected