diff --git a/app/models/administration.rb b/app/models/administration.rb index 75b83697c..ee601caa0 100644 --- a/app/models/administration.rb +++ b/app/models/administration.rb @@ -21,7 +21,8 @@ class Administration < ApplicationRecord administrateur.invite!(id) User.create({ email: email, - password: password + password: password, + confirmed_at: DateTime.now }) end