Explorar el Código

Document that plugins don't have access to passwords

master
Simon Ser hace 4 años
padre
commit
6bccdd62ce
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: FDE7BE0E88F5E48
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      session.go

+ 3
- 0
session.go Ver fichero

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


Cargando…
Cancelar
Guardar