mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
Fixed sending file shared link bug
This commit is contained in:
7
forms.py
7
forms.py
@@ -45,8 +45,11 @@ class FileLinkShareForm(forms.Form):
|
||||
Form for sharing file shared link to emails.
|
||||
"""
|
||||
|
||||
email = forms.CharField(max_length=512)
|
||||
file_shared_link = forms.CharField(max_length=40)
|
||||
email = forms.CharField(max_length=512, error_messages={
|
||||
'required': '输入不能为空',
|
||||
'max_length': '邮箱太长,不超过512个字符'
|
||||
})
|
||||
file_shared_link = forms.CharField()
|
||||
|
||||
class FileCommentForm(forms.Form):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user