tea login add
with credentials fails when server has REQUIRE_SIGNIN_VIEW = true
#365
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#365
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
(workaround: provide a token instead of user/pass)
The issue is that we create a gitea
Client
without providing credentialsdf724b4006/modules/task/login_create.go (L59)
and then gitea/go-sdk#517 happens
Fixing this would be a nice opportunity for a refactor: avoid recreating a client via
login.Client()
whenever we want to access it (this call can take some time, as it already talks to the server), and make it a member ofTeaContext
instead. This needs some thought wrt concurrency/locking, but should be solvable