mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-24 21:45:31 +00:00
Allow applying unicode normalisation to passwords before hashing
This commit is contained in:
@@ -1613,6 +1613,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"unicode_normalization": {
|
||||
"description": "Whether to apply Unicode normalization to the password before hashing\n\nDefaults to `false`, and generally recommended to stay false. This is although recommended when importing password hashs from Synapse, as it applies an NFKC normalization to the password before hashing it.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"cost": {
|
||||
"description": "Cost for the bcrypt algorithm",
|
||||
"default": 12,
|
||||
|
||||
Reference in New Issue
Block a user