changed upload limit to 1 second to allow new users to upload
This commit is contained in:
@@ -256,7 +256,8 @@ class User < ActiveRecord::Base
|
||||
def can_upload?
|
||||
if is_contributor?
|
||||
true
|
||||
elsif created_at > 1.week.ago
|
||||
elsif created_at > 1.second.ago
|
||||
# TODO: change this to 1 week
|
||||
false
|
||||
else
|
||||
upload_limit > 0
|
||||
|
||||
Reference in New Issue
Block a user