mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add a flag to imap settings to enable/disable oauth2 scheme
This commit is contained in:
@ -123,7 +123,8 @@ object OMail {
|
||||
imapUser: Option[String],
|
||||
imapPassword: Option[Password],
|
||||
imapSsl: SSLType,
|
||||
imapCertCheck: Boolean
|
||||
imapCertCheck: Boolean,
|
||||
imapOAuth2: Boolean
|
||||
) {
|
||||
|
||||
def toRecord(accId: AccountId) =
|
||||
@ -135,7 +136,8 @@ object OMail {
|
||||
imapUser,
|
||||
imapPassword,
|
||||
imapSsl,
|
||||
imapCertCheck
|
||||
imapCertCheck,
|
||||
imapOAuth2
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user