Changeset 307 in code for trunk/downstream.go


Ignore:
Timestamp:
Jun 2, 2020, 9:24:22 AM (5 years ago)
Author:
fox.cpp
Message:

Implement upstream SASL EXTERNAL support

Closes: https://todo.sr.ht/~emersion/soju/47

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r306 r307  
    15241524        }
    15251525
     1526        // User may have e.g. EXTERNAL mechanism configured. We do not want to
     1527        // automatically erase the key pair or any other credentials.
     1528        if uc.network.SASL.Mechanism != "" && uc.network.SASL.Mechanism != "PLAIN" {
     1529                return
     1530        }
     1531
    15261532        dc.logger.Printf("auto-saving NickServ credentials with username %q", username)
    15271533        n := uc.network
Note: See TracChangeset for help on using the changeset viewer.