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

Cannot change username due to "malformed authentication token" #33

Closed
AnonRS3 opened this issue May 17, 2020 · 8 comments
Closed

Cannot change username due to "malformed authentication token" #33

AnonRS3 opened this issue May 17, 2020 · 8 comments

Comments

@AnonRS3
Copy link

AnonRS3 commented May 17, 2020

As depicted below, if I attempt to change my username, I get an error message. It doesn't matter what I type in the text box, it always shows the error.

@HrX03
Copy link
Collaborator

HrX03 commented May 17, 2020

ooh this is interesting, it could actually be that the saved token on the app is corrupted or gone in some way, i'd suggest you try to log off and log in again and try to change the username, see if the issue still persists

@AnonRS3
Copy link
Author

AnonRS3 commented May 17, 2020

@HrX03 yep I tried logging out and in again, also clearing app data, unfortunately the issue persisted. I'll see if deleting and reinstalling the app helps in any way.

@HrX03
Copy link
Collaborator

HrX03 commented May 17, 2020

hm if you can could you build the app in debug mode and put a log statement in the change name function? will soon send you the exact code location and stuff

@HrX03
Copy link
Collaborator

HrX03 commented May 17, 2020

oh damn right remember to use master branch to build, rewrite doesnt have the same code

@HrX03
Copy link
Collaborator

HrX03 commented May 17, 2020

fuck im so stupid https://github.com/HrX03/PotatoNotes/blob/master/lib/routes/sync_manage_route.dart#L321, here im using the super old url for the api jesus christ. And that's why we now got a new rewrite branch lol, there are so many stuff wrong with the current app

@AnonRS3
Copy link
Author

AnonRS3 commented May 17, 2020

Ah, well glad to hear about the rewrite, that'll help fix those smaller issues that are easy to overlook sometimes. I can build the app later today, if still needed.

@HrX03
Copy link
Collaborator

HrX03 commented May 17, 2020

if you wish to there's no problem for me, but yea that branch is discontinued anyways so no need to make a pr or anything like that

@AnonRS3
Copy link
Author

AnonRS3 commented May 17, 2020

Oh okay sounds good. Thanks for looking into this. I use this app quite a lot so it's good to see there are fixes coming out 👍

@HrX03 HrX03 closed this as completed May 17, 2020
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