Add user statuses and seed admin user

This commit is contained in:
2023-04-01 02:29:59 +02:00
parent d2fbacbf62
commit e29c060a39
5 changed files with 28 additions and 9 deletions

View File

@@ -35,8 +35,12 @@ module FixinMe
#
# URL to use in sent e-mails.
config.action_mailer.default_url_options = {host: 'localhost'}
# List of hosts this app is available at.
# https://guides.rubyonrails.org/configuring.html#actiondispatch-hostauthorization
config.hosts << 'localhost'
# Email address of admin account
config.admin = 'admin@localhost'
end
end

View File

@@ -178,7 +178,7 @@ Devise.setup do |config|
# ==> Configuration for :validatable
# Range for password length.
config.password_length = 6..128
config.password_length = 5..128
# Email regex used to validate email formats. It simply asserts that
# one (and only one) @ exists in the given string. This is mainly