Skip to content

Commit 6cf68a5

Browse files
Use message as on haveibeenpwned website
1 parent f745262 commit 6cf68a5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/fr/xephi/authme/message/MessageKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public enum MessageKey {
8080
/** The chosen password isn't safe, please choose another one... */
8181
PASSWORD_UNSAFE_ERROR("password.unsafe_password"),
8282

83-
/** Your chosen password is not secure. It was used %pwned_count times already! Please use a stronger password... */
83+
/** Your chosen password is not secure. It has been seen %pwned_count times before! Please use a stronger password... */
8484
PASSWORD_PWNED_ERROR("password.pwned_password", "%pwned_count"),
8585

8686
/** Your password contains illegal characters. Allowed chars: %valid_chars */

src/main/resources/messages/messages_en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ password:
1818
match_error: '&cPasswords didn''t match, check them again!'
1919
name_in_password: '&cYou can''t use your name as password, please choose another one...'
2020
unsafe_password: '&cThe chosen password isn''t safe, please choose another one...'
21-
pwned_password: '&cYour chosen password is not secure. It was used %pwned_count times already! Please use a stronger password...'
21+
pwned_password: '&cYour chosen password is not secure. It has been seen %pwned_count times before! Please use a stronger password...'
2222
forbidden_characters: '&4Your password contains illegal characters. Allowed chars: %valid_chars'
2323
wrong_length: '&cYour password is too short or too long! Please try with another one!'
2424

0 commit comments

Comments
 (0)