mirror of
https://github.com/documenso/documenso.git
synced 2026-07-14 06:47:10 +10:00
fix: resolve incorrect recipient comparision check (#2646)
## Description Resolve issues with comparison checks. The `envelope-editor-provider.tsx` should be low impact since it's embed only which will only cause the non relevant attributes (such as sent at) to be incorrectly mapped The `auth-provider.tsx` one should have no impact
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ export const DocumentSigningAuthProvider = ({
|
||||
|
||||
if (
|
||||
derivedRecipientActionAuth.includes(DocumentAuth.ACCOUNT) &&
|
||||
user?.email == recipient.email
|
||||
user?.email === recipient.email
|
||||
) {
|
||||
return {
|
||||
type: DocumentAuth.ACCOUNT,
|
||||
|
||||
Reference in New Issue
Block a user