Revert "[TEMPORARY] No random password"

This reverts commit af327fc0fb.
This commit is contained in:
Xavier J 2016-05-31 11:28:56 +02:00
parent af327fc0fb
commit cdff5efa86

View file

@ -33,7 +33,7 @@ class Admin::GestionnairesController < AdminController
def create_gestionnaire_params
params.require(:gestionnaire).permit(:email)
.merge(password: 'TPS2016BOOSTCAMP') #SecureRandom.hex(5)
.merge(password: SecureRandom.hex(5))
.merge(administrateurs: [current_administrateur])
end