From 4c8cfffb11705940daadf3f570c1a1519616512a Mon Sep 17 00:00:00 2001 From: GiantFrog <35314154+GiantFrog@users.noreply.github.com> Date: Wed, 26 Jan 2022 20:15:36 -0700 Subject: [PATCH] Fix initial points on user creation --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 9069ce2e4..10b8a79fd 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -90,7 +90,7 @@ class User < ApplicationRecord attribute :favorite_count, default: 0 attribute :per_page, default: 20 attribute :theme, default: :light - attribute :upload_points, default: 1000 + attribute :upload_points, default: Danbooru.config.initial_upload_points.to_i attribute :bit_prefs, default: 0 has_bit_flags BOOLEAN_ATTRIBUTES, :field => "bit_prefs"