Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
438ea32d
Commit
438ea32d
authored
May 30, 2024
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change env variable name
parent
7e5dcd51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
services.yaml
config/services.yaml
+1
-1
AdherentAdmin.php
src/Admin/AdherentAdmin.php
+2
-2
No files found.
config/services.yaml
View file @
438ea32d
...
...
@@ -18,7 +18,7 @@ parameters:
presta_extra_data
:
'
%env(PRESTA_EXTRA_DATA)%'
household_based_allowance
:
'
%env(HOUSEHOLD_BASED_ALLOWANCE)%'
ssa_friendly_flux_type_names
:
'
%env(SSA_FRIENDLY_FLUX_TYPE_NAMES)%'
fix_balance_adherent_password
:
'
%env(FIX_BALANCE_ADHERENT
_PASSWORD)%'
extra_security_admin_password
:
'
%env(EXTRA_SECURITY_ADMIN
_PASSWORD)%'
# PARAMETRES DES IMPORTS POSSIBLE POUR L'APPLICATION DE GESTION DE MONNAIE LOCALE COMPLEMENTAIRE
...
...
src/Admin/AdherentAdmin.php
View file @
438ea32d
...
...
@@ -459,7 +459,7 @@ class AdherentAdmin extends AbstractAdmin
&&
$event
->
getForm
()
->
get
(
'fixedBalance'
)
->
getData
()
&&
$event
->
getForm
()
->
get
(
'fixedBalance'
)
->
getData
()
>=
0
)
{
$password
=
$this
->
getConfigurationPool
()
->
getContainer
()
->
getParameter
(
'
fix_balance_adherent
_password'
);
$password
=
$this
->
getConfigurationPool
()
->
getContainer
()
->
getParameter
(
'
extra_security_admin
_password'
);
//this password purpose is to be an additional warning for super admin and
//is not intended to be securely stored as only super admin can use this feature
if
(
$event
->
getForm
()
->
get
(
'password'
)
->
getData
()
!==
$password
)
{
...
...
@@ -481,7 +481,7 @@ class AdherentAdmin extends AbstractAdmin
&&
$event
->
getForm
()
->
get
(
'cancelRecurrentPaymentPassword'
)
->
getData
()
&&
$event
->
getForm
()
->
get
(
'cancelRecurrentPaymentPassword'
)
->
getData
()
!=
''
)
{
$password
=
$this
->
getConfigurationPool
()
->
getContainer
()
->
getParameter
(
'
fix_balance_adherent
_password'
);
$password
=
$this
->
getConfigurationPool
()
->
getContainer
()
->
getParameter
(
'
extra_security_admin
_password'
);
//this password purpose is to be an additional warning for super admin and
//is not intended to be securely stored as only super admin can use this feature
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment