Revert "[TEMPORARY] No random password"
This reverts commit af327fc0fb
.
This commit is contained in:
parent
af327fc0fb
commit
cdff5efa86
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class Admin::GestionnairesController < AdminController
|
||||||
|
|
||||||
def create_gestionnaire_params
|
def create_gestionnaire_params
|
||||||
params.require(:gestionnaire).permit(:email)
|
params.require(:gestionnaire).permit(:email)
|
||||||
.merge(password: 'TPS2016BOOSTCAMP') #SecureRandom.hex(5)
|
.merge(password: SecureRandom.hex(5))
|
||||||
.merge(administrateurs: [current_administrateur])
|
.merge(administrateurs: [current_administrateur])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue