[TEMPORARY] No random password

This commit is contained in:
Xavier J 2016-05-30 09:50:18 +02:00
parent 218b74960b
commit af327fc0fb

View file

@ -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