1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

fix code bug (#8046)

Co-authored-by: 小强 <shuntian@Mac.lan>
This commit is contained in:
杨顺强
2025-07-16 12:04:11 +08:00
committed by GitHub
parent e0b0e82a9a
commit 4de4a87d42

View File

@@ -1330,7 +1330,8 @@ def view_shared_file(request, fileshare):
name = username
username = str(time.time())
ret_dict['seadoc_access_token'] = gen_share_seadoc_access_token(file_uuid, filename, username, name, permission=seadoc_perm)
ret_dict['share_link_username'] = username
ret_dict['share_link_username'] = username
send_file_access_msg(request, repo, path, 'web')
request.session['seadoc_share_session'] = {