mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
Merge pull request #15187 from snipe/feature/sc-26458
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Use the `pwd_secure_min` value (plus 5) for generated password
This commit is contained in:
commit
55f9886412
|
@ -678,7 +678,7 @@ $(document).ready(function() {
|
||||||
'bind': 'click',
|
'bind': 'click',
|
||||||
'passwordElement': '#password',
|
'passwordElement': '#password',
|
||||||
'displayElement': '#generated-password',
|
'displayElement': '#generated-password',
|
||||||
'passwordLength': 16,
|
'passwordLength': {{ ($settings->pwd_secure_min + 5) }},
|
||||||
'uppercase': true,
|
'uppercase': true,
|
||||||
'lowercase': true,
|
'lowercase': true,
|
||||||
'numbers': true,
|
'numbers': true,
|
||||||
|
|
|
@ -7,7 +7,7 @@ use App\Models\Component;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class ComponentCheckoutTest extends TestCase
|
class ComponentsCheckoutTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testCheckingOutComponentRequiresCorrectPermission()
|
public function testCheckingOutComponentRequiresCorrectPermission()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue