Add the password when sharing a pad with a friend

pull/1/head
yflory 5 years ago
parent c42a79991c
commit 9aebeb216e

@ -412,6 +412,7 @@ define([
if (!friend.notifications || !friend.curvePublic) { return; }
common.mailbox.sendTo("SHARE_PAD", {
href: href,
password: config.password,
name: myName,
title: title
}, {

@ -2173,6 +2173,7 @@ define([
pathname: "/drive/",
friends: friends,
title: data.title,
password: data.password,
common: common,
hashes: {
editHash: parsed.hash
@ -3510,6 +3511,7 @@ define([
friends: friends,
title: data.title,
common: common,
password: data.password,
hashes: {
editHash: parsed.hash
}
@ -3523,6 +3525,7 @@ define([
origin: APP.origin,
pathname: "/" + padType + "/",
friends: friends,
password: data.password,
hashes: {
editHash: parsed.hash,
viewHash: roParsed.hash,

@ -42,6 +42,7 @@ define([
var modal = f({
origin: origin,
pathname: pathname,
password: priv.password,
hashes: hashes,
common: common,
title: data.title,

Loading…
Cancel
Save