Browse Source

fix commande pour créer un utilisateur

master
jlecour 3 months ago
parent
commit
4da379ed0a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HowtoRedmine.md

+ 1
- 1
HowtoRedmine.md View File

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


Loading…
Cancel
Save