fix: page hint for comment list, keep SSH settings on re-login, hard-link-free downloads, stable OWNER/REPO#N instance (follow gh)

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 20:03:15 +02:00
1 parent dfb56eae67
commit 8305a89531
11 files changed
+154 -10

No files matched your search

+6
View File
@@ -87,6 +87,12 @@ func (m Manager) register(instance, user string, account settings.Account, optio
}
undo = append(undo, func() error { return m.credentials.Delete(instance, user, account.CredentialStore) })
}
if exists && credential != nil && !previous.Tokenless() {
// Logging in again replaces the credential; settings made with tea config set stay.
kept := previous
kept.AuthMethod, kept.CredentialStore = account.AuthMethod, account.CredentialStore
account = kept
}
host.Users[user] = account
host.User = user
if options.OAuthClientID != "" {