Fix authMethod preference check

This commit is contained in:
dddddd-mmmmmm 2020-01-14 09:14:32 +11:00
parent 5141eb6e81
commit 2ed89ab72f
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public final class Util {
builder.addQueryParameter("u", username);
if (prefs.getBoolean(Constants.PREFERENCES_KEY_AUTH_METHOD, true)) {
if (prefs.getBoolean(Constants.PREFERENCES_KEY_AUTH_METHOD + instance, true)) {
int hash = (username + password).hashCode();
Pair<String, String> values = tokens.get(hash);
if (values == null) {