Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the key once gone ? #54

Closed
albesoft opened this issue Nov 23, 2014 · 2 comments
Closed

How to get the key once gone ? #54

albesoft opened this issue Nov 23, 2014 · 2 comments

Comments

@albesoft
Copy link

Hello,
I've created a shortened address but it was finished by a key.
Once gone to the site, it's impossible to retrieve the characters after the question mark,
more, I can't delete my link so I can't reuse it without a key...

Would it be possible to mak some evolution on these topics ?
Thank you in advance

@cydrobolt
Copy link
Owner

Hello there!

As a normal user, once you create a secret shortened address, the key is not retrievable, but if you copy-pasted it, it should still be in your clipboard. If you copied the whole link from the resulting text box, the key should be after the question mark. If, for some reason, you've lost the key, and you are an administrator of the database, you can either delete the key or retrieve it.

Deleting links straight from the Admin panel will come in future releases. We have it planned, and it is a feature with a high priority.

For right now, you should be able to retrieve the key by going into PHPMyAdmin or similar, navigating to the redirinfo table, and find the lkey (key) column for the row that has a baseval (ending) of your liking.

If you only have command-line access, you can use these commands:

USE <mysql_database>;
SELECT `lkey` from `redirinfo` WHERE `baseval` = '<link_ending>';

@cydrobolt
Copy link
Owner

Closed in favour of #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants