mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-01 12:22:55 +00:00
Allow POST /uri?t=mkdir to accept private-key
This commit is contained in:
parent
9c2362853d
commit
b93a39fdc2
@ -160,7 +160,7 @@ def POSTUnlinkedCreateDirectory(req, client):
|
||||
mt = None
|
||||
if file_format:
|
||||
mt = get_mutable_type(file_format)
|
||||
d = client.create_dirnode(version=mt)
|
||||
d = client.create_dirnode(version=mt, unique_keypair=get_keypair(req))
|
||||
redirect = get_arg(req, "redirect_to_result", "false")
|
||||
if boolean_of_arg(redirect):
|
||||
def _then_redir(res):
|
||||
|
Loading…
x
Reference in New Issue
Block a user