🚧 pdfsigner, readonly field, signpage, signgn dialog

This commit is contained in:
Timur Ercan
2023-02-16 18:31:06 +01:00
parent 9511a08b76
commit 0ba316111b
8 changed files with 287 additions and 35 deletions

View File

@ -12,6 +12,9 @@ async function getHandler(req: NextApiRequest, res: NextApiResponse) {
const user = await getUserFromToken(req, res);
const { id: documentId } = req.query;
// TODO Check if this is a public link with token and validate the token
const { token: recipientToken } = req.query;
if (!user) return;
if (!documentId) {