@nebulon thank you, all sorted now!
F
fed21
@fed21
Posts
-
Discourse root email -
Discourse root emailHello!
hope to find some help, Discourse is completely new to me...
I went through all the previous posts on same subject, but still I can't change the root email.
When I enter the first line it doesn't show the user id, created_at/updated_at, but only the four rows below:irb(main):001:0> u = User.find_by_username("root")
=>
#<User:0x00007f56d1eeff00
...When I enter the line 4 I get the message below:
irb(main):004:0> u.save!
/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/validations.rb:80:in `raise_validation_error': Validation failed: Primary email has already been taken (ActiveRecord::RecordInvalid)
irb(main):005:0>Thank you