Commit 0a2b51d8 authored by ale's avatar ale

Create shorter app-specific passwords

32 random characters.
parent 59a20ea0
Pipeline #3018 passed with stages
in 5 minutes and 15 seconds
......@@ -231,8 +231,8 @@ func randomPassword() string {
}
func randomAppSpecificPassword() string {
// Create a 64-character password with 10 digits and 10 symbols.
return password.MustGenerate(64, 10, 10, false, false)
// Create a 32-character password with 5 digits and 5 symbols.
return password.MustGenerate(32, 5, 5, false, false)
}
const appSpecificPasswordIDLen = 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment