Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document about auto-migration
Browse files Browse the repository at this point in the history
Signed-off-by: sawadashota <[email protected]>
sawadashota committed Oct 4, 2021
1 parent 7c537ef commit 713b1c3
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/docs/reference/configuration.md
Original file line number Diff line number Diff line change
@@ -1876,7 +1876,8 @@ hashers:

## Password hashing algorithm ##
#
# One of the values: argon2, bcrypt
# One of the values: argon2, bcrypt.
# If database stores a password hashed by another algorithm, the password will be migrated to this algorithm when user logins using password flow.
#
# Default value: bcrypt
#
2 changes: 1 addition & 1 deletion driver/config/.schema/config.schema.json
Original file line number Diff line number Diff line change
@@ -1659,7 +1659,7 @@
"properties": {
"algorithm": {
"title": "Password hashing algorithm",
"description": "One of the values: argon2, bcrypt",
"description": "One of the values: argon2, bcrypt.\nIf database stores a password hashed by another algorithm, the password will be migrated to this algorithm when user logins using password flow.",
"type": "string",
"default": "bcrypt",
"enum": [

0 comments on commit 713b1c3

Please sign in to comment.