about summary refs log tree commit diff
path: root/app/models/account.rb
diff options
context:
space:
mode:
authorbeatrix-bitrot <beatrix.bitrot@gmail.com>2017-05-16 02:25:53 +0000
committerbeatrix-bitrot <beatrix.bitrot@gmail.com>2017-06-26 02:18:52 +0000
commitc0a665865e5f06f45296e76bfef3790f8149b0ee (patch)
tree1558351bd79a4a0001c771d22e0dd784a80e7f3d /app/models/account.rb
parent96e1f756790db735edd52d17fabb68a00ec89309 (diff)
update bio length to 500
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 2b54cee5f..14c90cfc0 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -60,7 +60,7 @@ class Account < ApplicationRecord
   validates :username, format: { with: /\A[a-z0-9_]+\z/i }, uniqueness: { scope: :domain, case_sensitive: false }, length: { maximum: 30 }, if: -> { local? && will_save_change_to_username? }
   validates_with UnreservedUsernameValidator, if: -> { local? && will_save_change_to_username? }
   validates :display_name, length: { maximum: 30 }, if: -> { local? && will_save_change_to_display_name? }
-  validates :note, length: { maximum: 160 }, if: -> { local? && will_save_change_to_note? }
+  validates :note, length: { maximum: 500 }, if: -> { local? && will_save_change_to_note? }
 
   # Timelines
   has_many :stream_entries, inverse_of: :account, dependent: :destroy