|
|
@ -483,8 +483,8 @@ export default class ContactQRScanShow extends Vue { |
|
|
|
} |
|
|
|
|
|
|
|
const contactInfo = decodedJwt.payload.own; |
|
|
|
if (!contactInfo.did) { |
|
|
|
logger.warn("Invalid contact info - missing DID"); |
|
|
|
if (!decodedJwt.payload.iss) { |
|
|
|
logger.warn("Invalid JWT payload - missing 'iss' field"); |
|
|
|
this.$notify({ |
|
|
|
group: "alert", |
|
|
|
type: "danger", |
|
|
@ -496,7 +496,7 @@ export default class ContactQRScanShow extends Vue { |
|
|
|
|
|
|
|
// Create contact object |
|
|
|
const contact = { |
|
|
|
did: contactInfo.did, |
|
|
|
did: decodedJwt.payload.iss, |
|
|
|
name: contactInfo.name || "", |
|
|
|
email: contactInfo.email || "", |
|
|
|
phone: contactInfo.phone || "", |
|
|
|