Add a flag to imap settings to enable/disable oauth2 scheme

This commit is contained in:
Eike Kettner
2021-01-03 16:36:19 +01:00
parent ac6a7b28be
commit 0cfd8974d3
8 changed files with 69 additions and 10 deletions

View File

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