Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

en.json appears to have unused items or they might be part of a package #1966

Closed
madman-81 opened this issue Jan 20, 2022 · 1 comment
Closed

Comments

@madman-81
Copy link
Contributor

  • Laravel-Lang Version: Master
  • PHP Version: n/a

Description:

en.json has a few lines that I can't find in laravel/framework:

"The :attribute must contain at least one letter.",
"The :attribute must contain at least one number.",
"The :attribute must contain at least one symbol.",
"The :attribute must contain at least one uppercase and one lowercase letter.",
"The given :attribute has appeared in a data leak. Please choose a different :attribute.",

They have been added with commit 7e54ef7

Are they really from the framework itself or from a package?

@andrey-helldar
Copy link
Member

andrey-helldar commented Jan 20, 2022

These are the password validation messages in Laravel: https://github.com/laravel/framework/blob/8.x/src/Illuminate/Validation/Rules/Password.php

https://laravel.com/docs/8.x/validation#validating-passwords

Added in 8.39 version: laravel/framework#36960, https://github.com/laravel/framework/releases/tag/v8.39.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants