浏览代码

Document that plugins don't have access to passwords

master
Simon Ser 4 年前
父节点
当前提交
6bccdd62ce
找不到此签名对应的密钥 GPG 密钥 ID: FDE7BE0E88F5E48
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      session.go

+ 3
- 0
session.go 查看文件

@@ -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


正在加载...
取消
保存