license-server: disable email-lookup activation for klipa#4
Merged
Conversation
klipa now requires the signed license file to activate, not just an email, so the /activate email-lookup convenience is a freeload hole for it (anyone knowing a buyer's address could fetch the license). Add a per-product email_activation flag: klipa sets it False so /activate returns 403 for klipa. PromptBar keeps email_activation=True, unchanged. Also add inline_license (True for klipa): the signed license JSON is embedded in the purchase email body, not just attached, so buyers can copy it straight from the message and paste it into the app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
klipa's app now requires the signed license file to activate (not just an email), so the
/activateemail-lookup convenience is a freeload hole for it - anyone knowing a buyer's address could fetch their license.email_activationflag. klipa → False:/activatereturns 403 for klipa. PromptBar → True (unchanged, still activates by email).inline_license(True for klipa): the signed license JSON is embedded in the purchase email body, not just attached, so buyers copy it straight from the message.Verified locally: klipa
/activate→ 403; PromptBar/activate→ 200 unchanged; klipa webhook still issues + emails with the inline license; both products list on/health.