From 4da379ed0aa4085c939235b272cb909b24b1d6d9 Mon Sep 17 00:00:00 2001 From: jlecour Date: Thu, 14 May 2020 18:12:06 +0200 Subject: [PATCH] =?UTF-8?q?fix=20commande=20pour=20cr=C3=A9er=20un=20utili?= =?UTF-8?q?sateur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoRedmine.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HowtoRedmine.md b/HowtoRedmine.md index 3b13325f..00123fa9 100644 --- a/HowtoRedmine.md +++ b/HowtoRedmine.md @@ -276,7 +276,7 @@ bundle exec rails console #### Creer un compte admin / mot de passe admin ~~~ -user # User.new :firstname> "Admin", :lastname => "Admin", :mail => "admin@example.com", :mail_notification => "none", :status => 1 +user = User.new(:firstname => "Admin", :lastname => "Admin", :mail => "admin@example.com", :mail_notification => "none", :status => 1) user.login = 'admin' user.hashed_password = "4af53bd5aff3b4b8ac275cfc918244f7e61aa4cb" user.salt = "270d36d363b07abc40245d02348a53a8"