Merge pull request #15187 from snipe/feature/sc-26458
Use the `pwd_secure_min` value (plus 5) for generated password
This commit is contained in:
commit
55f9886412
2 changed files with 2 additions and 2 deletions
|
@ -678,7 +678,7 @@ $(document).ready(function() {
|
|||
'bind': 'click',
|
||||
'passwordElement': '#password',
|
||||
'displayElement': '#generated-password',
|
||||
'passwordLength': 16,
|
||||
'passwordLength': {{ ($settings->pwd_secure_min + 5) }},
|
||||
'uppercase': true,
|
||||
'lowercase': true,
|
||||
'numbers': true,
|
||||
|
|
|
@ -7,7 +7,7 @@ use App\Models\Component;
|
|||
use App\Models\User;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ComponentCheckoutTest extends TestCase
|
||||
class ComponentsCheckoutTest extends TestCase
|
||||
{
|
||||
public function testCheckingOutComponentRequiresCorrectPermission()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue