Merge remote-tracking branch 'upstream/pull/3345'
This commit is contained in:
commit
53aa7259bb
12 changed files with 281 additions and 267 deletions
|
@ -87,7 +87,7 @@ class User < ApplicationRecord
|
|||
scope :active, -> { where(:status => %w[active confirmed]) }
|
||||
scope :identifiable, -> { where(:data_public => true) }
|
||||
|
||||
has_one_attached :avatar
|
||||
has_one_attached :avatar, :service => Settings.avatar_storage
|
||||
|
||||
validates :display_name, :presence => true, :length => 3..255,
|
||||
:exclusion => %w[new terms save confirm confirm-email go_public reset-password forgot-password suspended]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue