diff --git a/app/controllers/admin/gestionnaires_controller.rb b/app/controllers/admin/gestionnaires_controller.rb index e3ddc27a6..263c2d038 100644 --- a/app/controllers/admin/gestionnaires_controller.rb +++ b/app/controllers/admin/gestionnaires_controller.rb @@ -33,7 +33,7 @@ class Admin::GestionnairesController < AdminController def create_gestionnaire_params params.require(:gestionnaire).permit(:email) - .merge(password: SecureRandom.hex(5)) + .merge(password: 'TPS2016BOOSTCAMP') #SecureRandom.hex(5) .merge(administrateurs: [current_administrateur]) end