fix(vkauth): сбрасывать реквизиты при неподтверждённом deallocate
This commit is contained in:
1 parent
c2a9f0f1d7
commit
7fc7fe2e79
9 files changed
+61
-13
No files matched your search
@@ -46,6 +46,11 @@ func (m *Provider) ResetErrors(streamID int) {
|
||||
p.ResetErrors(innerID)
|
||||
}
|
||||
|
||||
func (m *Provider) DropCredentials(streamID int) {
|
||||
p, innerID := m.providerFor(streamID)
|
||||
p.DropCredentials(innerID)
|
||||
}
|
||||
|
||||
func (m *Provider) BackoffUntilUnix() int64 {
|
||||
var until int64
|
||||
for _, p := range m.providers {
|
||||
|
||||
Reference in new issue
Block a user