Fix version API auth check #391
No reviewers
Labels
No Label
Priority-high
Accepting-merge-requests
API
API-dependency
Backport
Blocked
Brainstorming
Breaking
Bug
Changelog
CI
Cleanup
Confirmed
Discussion
Documentation
Duplicate
Enhancement
External-dependecy
F-droid
Feature
Google-play
Improvement
Invalid
Investigate
LGTM-done
LGTM-need
Long-term
Major-release
Minor-release
Needs-cleanup
Needs-feedback
Needs-help
Priority-critical
Priority-low
Priority-medium
Question
Ready
Refactor
Regression
Release
Repository
Security
Suggestion
Support
Testing
Translation
UI/UX
Upstream
Website
WIP
No Milestone
2 Participants
Total Time Spent: 30 minutes 49 seconds
Due Date
6543
30 minutes 49 seconds
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#391
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "389-version-api-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #389
Just initial work, have to go now. Will finish it later.
@ -447,6 +449,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
}
else if (responseVersion.code() == 403) {
instead of using a flag we could use
loginToken_
or basic auth if we get a 403Don't quite understand this part. Do you mean call the API inside 403?
should I try to fix this?
wrong button
Fix??
sory *Impruve it
If you mean adding new API call in 403, I would suggest not to do that as we already have so many calls in the Login screen. Avoiding more is good for fast logins.
Also we have get version in main activity, so that can be used.
But if you have other improvements beside this please push and I will check.
I go the other way around ... so I created a new pull to dont destroy this one
@mmarif have a look at #399 and what you think of