mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Story#108091488 - Seems that now reserved domains will be in better table
This commit is contained in:
parent
3c33a44f38
commit
6415bfae38
4 changed files with 34 additions and 16 deletions
|
@ -73,7 +73,7 @@ admin3 = {
|
|||
[admin1, admin2, admin3].each do |at|
|
||||
admin = AdminUser.where(at)
|
||||
next if admin.present?
|
||||
admin = AdminUser.new(at.merge({ password_confirmation: 'testtest' }))
|
||||
admin = AdminUser.new(at.merge({ password_confirmation: 'testtest', password: 'testtest' }))
|
||||
admin.roles = ['admin']
|
||||
admin.save
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue