mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
ReadKit sends the md5 hash of the password in uppercase (#1602)
This commit is contained in:
@@ -95,7 +95,7 @@ public class UserService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String computedFeverApiKey = Digests.md5Hex(user.getName() + ":" + user.getApiKey());
|
String computedFeverApiKey = Digests.md5Hex(user.getName() + ":" + user.getApiKey());
|
||||||
if (!computedFeverApiKey.equals(feverApiKey)) {
|
if (!computedFeverApiKey.equalsIgnoreCase(feverApiKey)) {
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user