贴吧资源下载开放,判断贴吧资源修改为根据资源的container_type是否为‘Memo’判断
This commit is contained in:
parent
02470491bd
commit
ee00d7d20a
|
@ -361,7 +361,7 @@ private
|
|||
|
||||
def login_without_softapplication
|
||||
referer = request.headers['Referer']
|
||||
require_login unless referer =~ /softapplication/ || referer =~ /memos/
|
||||
require_login unless referer =~ /softapplication/ || @attachment.container_type == "Memo"
|
||||
end
|
||||
|
||||
def renderTag
|
||||
|
|
Loading…
Reference in New Issue