Skip to content

Commit

Permalink
fix: fido2 and u2f script throw oops error(4.3.1+MYSQL). #1624
Browse files Browse the repository at this point in the history
  • Loading branch information
yurem committed Jan 4, 2022
1 parent a9e6ed5 commit 96329ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import javax.inject.Inject;

import org.apache.commons.lang.StringUtils;
import org.gluu.fido2.model.entry.Fido2RegistrationEntry;
import org.gluu.oxauth.model.config.StaticConfiguration;
import org.gluu.oxauth.model.configuration.AppConfiguration;
import org.gluu.oxauth.model.fido.u2f.DeviceRegistration;
Expand Down Expand Up @@ -69,7 +70,7 @@ public long countFido2RegisteredDevices(String username) {
Filter registeredFilter = Filter.createEqualityFilter("oxStatus", "registered");
Filter filter = Filter.createANDFilter(userInumFilter, registeredFilter);

long countEntries = persistenceEntryManager.countEntries(baseDn, CustomEntry.class, filter);
long countEntries = persistenceEntryManager.countEntries(baseDn, Fido2RegistrationEntry.class, filter);

return countEntries;
}
Expand Down

0 comments on commit 96329ad

Please sign in to comment.