mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 09:41:35 +10:00
🚧 pdfsigner, readonly field, signpage, signgn dialog
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user