chore: keep the re-landed feature files showroom-safe
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go stable) (pull_request) Successful in 1m21s
Tests / Test (Go 1.25) (pull_request) Successful in 1m27s
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Secret scan (gitleaks) (push) Skipped
Tests / Test (Go 1.25) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Tests / Secret scan (gitleaks) (pull_request) Successful in 4s
Tests / Test (Go stable) (pull_request) Successful in 1m21s
Tests / Test (Go 1.25) (pull_request) Successful in 1m27s
The conversion / link / sheet commits predate the tree cleanup, so their comments and README/test examples still carried internal refs. Re-apply the genericization (no internal hosts, personal names or client file ids).
This commit is contained in:
@@ -103,10 +103,10 @@ func (c *Client) authenticateOnce(ctx context.Context) error {
|
||||
// token, and the portal error otherwise.
|
||||
//
|
||||
// OnlyOffice accepts either the userName or the account email as the login. On
|
||||
// the arc-1 portal (office.produktor.io) the account userName login returns
|
||||
// HTTP 500 "User authentication failed" while the account email succeeds —
|
||||
// confirmed for a freshly created guest user. Use this probe before sharing
|
||||
// credentials (see `oo users check`), and prefer the email as the login.
|
||||
// some portals the account userName login returns HTTP 500 "User authentication
|
||||
// failed" while the account email succeeds — confirmed for a freshly created
|
||||
// guest user. Use this probe before sharing credentials (see `oo users check`),
|
||||
// and prefer the email as the login.
|
||||
func (c *Client) AuthenticateAs(ctx context.Context, login, password string) error {
|
||||
body, err := json.Marshal(Credentials{User: login, Password: password})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user