- Remove all Rodauth stuff and implement simple custom auth - Migrate from sprockets to propshaft, hack some bootstrap stuff
6 lines
162 B
Ruby
6 lines
162 B
Ruby
class User < ApplicationRecord
|
|
has_secure_password
|
|
has_many :sessions, dependent: :destroy
|
|
|
|
normalizes :email_address, with: ->(e) { e.strip.downcase }
|
|
end
|