Is this legal?

Where two people are joint on a credit card and one account holder dies, the account is frozen or closed and the living account holder is asked to reapply.

What is the correct way to handle this? Or Where should I read up on how this should be done?

Thanks in advance!
Always learning something new...