I made this Minecraft account back in June, it was working fine but today while I was playing Minecraft the game crashed and logged me out of my account. I logged back into my account and now it will only allow me to play the Demo version of Minecraft, it's telling me I have to purchase the app again.
Linked issues
Comments

This issue has been closed as invalid.
This is an account/login/download/purchase issue, not a bug with the game. You can try the customer support link below.
Quick Links:
📓 Issue Guidelines -- 💬 Community Support -- 📧 Customer Support -- 📖 Game Wiki

Thank you for your report!
We're tracking this issue in MCL-16570, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
Log out of the launcher, and make sure you're logging in with a "mojang account"