feat: add generate strong password button to Add Members form

Add a "Generate strong password" button with Sparkles icon to the
Add Members form in Settings > People. Generated passwords are shown
in plain text with a copy button and an amber warning to copy before
creating the user. Also upgraded the button style on the change
password page to match. Translated copy/warning strings for all 21
locales.

Closes #139
This commit is contained in:
SnapOtter
2026-05-16 23:08:19 +08:00
parent e316dff294
commit 148118d969
23 changed files with 171 additions and 11 deletions
+4
View File
@@ -1514,6 +1514,10 @@ export const pl: TranslationKeys = {
resetPasswordAction: "Resetuj hasło",
deleteUserAction: "Usuń użytkownika",
saveButton: "Zapisz",
copyPasswordButton: "Kopiuj haslo",
passwordCopied: "Skopiowano!",
copyPasswordWarning:
"Skopiuj to haslo teraz. Nie bedziesz mogl go zobaczyc po utworzeniu uzytkownika.",
},
teams: {
heading: "Zespoły",