fix(oauth): avoid overwriting user state when binding

This commit is contained in:
CaIon
2026-08-11 22:03:45 +08:00
parent 3d5dc36f1d
commit d7992672a6
11 changed files with 125 additions and 22 deletions
+5
View File
@@ -184,6 +184,11 @@ func (p *LinuxDOProvider) GetProviderPrefix() string {
return "linuxdo_"
}
// ProviderUserIDColumn returns the users-table column storing this provider's user ID.
func (p *LinuxDOProvider) ProviderUserIDColumn() string {
return "linux_do_id"
}
// TrustLevelError indicates the user's trust level is too low
type TrustLevelError struct {
Required int