Skip to content

Commit 0f7e1fb

Browse files
committed
fix log message
1 parent b458dce commit 0f7e1fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Auth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,8 @@ const handleAuthDataValidation = async (authData, req, foundUser) => {
435435
const authProvider = (req.config.auth || {})[provider] || {};
436436
if (authProvider.enabled == null) {
437437
Deprecator.logRuntimeDeprecation({
438-
usage: `auth.${provider}`,
439-
solution: `auth.${provider}.enabled: true`,
438+
usage: `Using the authentication adapter "${provider}" without explicitly enabling it`,
439+
solution: `Enable the authentication adapter by setting the Parse Server option "auth.${provider}.enabled: true".`,
440440
});
441441
}
442442
if (!validator || authProvider.enabled === false) {

0 commit comments

Comments
 (0)