ChastiKey Forums

General Category => ChastiKey Chat => Topic started by: beliebernamee on January 12, 2020, 12:38:50 PM

Title: might found a little bug
Post by: beliebernamee on January 12, 2020, 12:38:50 PM
Hi Kevin, i did lose my restore key for my account, but that's not a problem!
I renamed the (new) account and by accident, i renamed my test account on my other phone (to test locks) exactly the same.

Then i created a Ticker page (i have a simple .html file on my server, so i can just see my stats.) and the ticker picked up the wrong account. When changing the username (and not changing the .html file) it picked up the right account at the ticker.

 thought a username has to be unique? If yes, you might want to look into it.
Thanks for providing a great app :)
Title: Re: might found a little bug
Post by: KevinCross on January 13, 2020, 09:21:03 AM
Duplicate usernames is a known problem. I have hopefully put in a fix in the next version which should reduce the chance of it happening. The app should stop you from writing a username already taken if there's only 1 version of the username in the database, but if there's already duplicates for the username you're trying it lets you. I've fixed that in 2.4.3 now (already fixed it in the new version) but there's still other ways that duplicates happen in 2.4.3 that can only be fixed in the next version.

All of the duplicate usernames in the database should eventually disappear naturally eventually because there's a script that runs regularly that clears out usernames on accounts that haven't been active for 12 months or more. It doesn't delete the account yet, but I plan to eventually start deleting accounts that haven't been active in a year.