Remove copyright headers and fix LICENSE
This commit is contained in:
1 parent
8d6ef85751
commit
6d5462c347
7 files changed
+4
-52
No files matched your search
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2012-2018 Scott Chacon and others
|
||||
Copyright (c) terminal42 gmbh
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -2,14 +2,6 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of terminal42/contao-password-validation.
|
||||
*
|
||||
* (c) terminal42 gmbh <https://terminal42.ch>
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
use Terminal42\PasswordValidationBundle\Model\PasswordHistory;
|
||||
|
||||
$GLOBALS['TL_MODELS']['tl_password_history'] = PasswordHistory::class;
|
||||
@@ -1,15 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of terminal42/contao-password-validation.
|
||||
*
|
||||
* (c) terminal42 gmbh <https://terminal42.ch>
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_member']['subpalettes']['login'] .= ',pwChange';
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_member']['fields']['password']['eval']['rgxp'] = 'terminal42_password_validation';
|
||||
|
||||
@@ -1,15 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of terminal42/contao-password-validation.
|
||||
*
|
||||
* (c) terminal42 gmbh <https://terminal42.ch>
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
use Contao\CoreBundle\DataContainer\PaletteManipulator;
|
||||
use Contao\CoreBundle\DataContainer\PaletteNotFoundException;
|
||||
|
||||
|
||||
@@ -1,15 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of terminal42/contao-password-validation.
|
||||
*
|
||||
* (c) terminal42 gmbh <https://terminal42.ch>
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_password_history'] = [
|
||||
// Config
|
||||
'config' => [
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of terminal42/contao-password-validation.
|
||||
*
|
||||
* (c) terminal42 gmbh <https://terminal42.ch>
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_user']['fields']['password']['eval']['rgxp'] = 'terminal42_password_validation';
|
||||
@@ -19,9 +19,9 @@ interface PasswordValidatorInterface
|
||||
/**
|
||||
* @param ValidationContext $context holds the password to verify, the user id and the like
|
||||
*
|
||||
* @throws PasswordValidatorException to decline the password and add a error message to the password widget
|
||||
*
|
||||
* @return bool true to accept the password, false to decline the password
|
||||
*
|
||||
* @throws PasswordValidatorException to decline the password and add a error message to the password widget
|
||||
*/
|
||||
public function validate(ValidationContext $context): bool;
|
||||
}
|
||||
Reference in new issue
Block a user