Skip to content

Commit 8a2a6d7

Browse files
committed
🔊 Improve MongoRealmAuthenticator log clarity: specify user ID and collection in credential verification message
1 parent b1aaacf commit 8a2a6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/src/main/java/org/restheart/security/authenticators/MongoRealmAuthenticator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private Account verify(final String usersDb, final String id, final Credential c
183183
return null;
184184
}
185185

186-
LOGGER.debug("verifying credentials for credentials against account {}.{}->{}", usersDb, this.usersCollection, id);
186+
LOGGER.debug("Verifying credentials for user {} in {}.{} collection", id, usersDb, this.usersCollection);
187187

188188
final var ref = getAccount(usersDb, id);
189189

0 commit comments

Comments
 (0)