Commit b0595c7b authored by Christian BUFFIN's avatar Christian BUFFIN
Browse files

Correction des mots de passe affichés pour les utilisateurs de la recette.

parent c004c1e5
......@@ -67,7 +67,11 @@ class RecettesController extends AppController {
'User.nom_complet',
'User.email',
'("Admin"."id" IS NOT NULL) AS "User__is_superadmin"',
'(CASE WHEN "User"."username" = \'superadmin\' THEN \'admin\' ELSE \'bateauavionmotovoiture\' END) AS "User__pwd"',
'(CASE
WHEN "User"."username" = \'superadmin\' THEN \'admin\'
WHEN "Admin"."id" IS NOT NULL THEN \'Voitures2ColoSoupersos\'
ELSE \'bateauavionmotovoiture\'
END) AS "User__pwd"',
],
$this->Organisation->User->Admin->fields()
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment