Skip to content

Commit

Permalink
no need to explicitly call out earlier versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Nov 15, 2023
1 parent 61edf80 commit 948435e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ for details on driver options.
# Change the default authentication mechanism. Valid options are: :scram,
# :mongodb_cr, :mongodb_x509, and :plain. Note that all authentication
# mechanisms require username and password, with the exception of :mongodb_x509.
# Default on mongoDB 3.0 is :scram, default on 2.4 and 2.6 is :plain.
# Default is :scram since MongoDB 3.0; earlier versions defaulted to :plain.
# auth_mech: :scram

# The database or source to authenticate the user against.
Expand Down
2 changes: 1 addition & 1 deletion lib/rails/generators/mongoid/config/templates/mongoid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ development:
# Change the default authentication mechanism. Valid options are: :scram,
# :mongodb_cr, :mongodb_x509, and :plain. Note that all authentication
# mechanisms require username and password, with the exception of :mongodb_x509.
# Default on mongoDB 3.0 is :scram, default on 2.4 and 2.6 is :plain.
# Default is :scram since MongoDB 3.0; earlier versions defaulted to :plain.
# auth_mech: :scram

# The database or source to authenticate the user against.
Expand Down

0 comments on commit 948435e

Please sign in to comment.