You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
signatureKeyIsCorrect: (...args)=>{const[prevState,link]=argsconstaction=link.bodyconst{ type }=action// at root link, team doesn't yet have membersif(type===ROOT)returnVALIDconst{ userId }=link.signedconstauthor=select.member(prevState,userId)// TODO: test this caseif(link.signed.key!==author.keys.signature){constmsg=`Wrong signature key. Link is signed with ${link.signed.key}, but ${userId}'s signature key is ${author.keys.signature}`returnfail(msg, ...args)}returnVALID},
The text was updated successfully, but these errors were encountered:
Commented-out validator from
auth\validate.ts
:The text was updated successfully, but these errors were encountered: