[TEMPORARY] No random password
This commit is contained in:
parent
218b74960b
commit
af327fc0fb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue