Document that plugins don't have access to passwords
This commit is contained in:
parent
f106c1125f
commit
6bccdd62ce
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ func (err AuthError) Error() string {
|
|||
}
|
||||
|
||||
// Session is an active user session. It may also hold an IMAP connection.
|
||||
//
|
||||
// The session's password is not available to plugins. Plugins should use the
|
||||
// session helpers to authenticate outgoing connections, for instance DoSMTP.
|
||||
type Session struct {
|
||||
manager *SessionManager
|
||||
username, password string
|
||||
|
|
Loading…
Reference in a new issue