feat: Show re-auth flag only for legacy Gmail and OAuth channels (#10189)
This commit is contained in:
@@ -61,6 +61,10 @@ class Channel::Email < ApplicationRecord
|
||||
provider == 'google'
|
||||
end
|
||||
|
||||
def legacy_google?
|
||||
imap_enabled && imap_address == 'imap.gmail.com'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def ensure_forward_to_email
|
||||
|
||||
Reference in New Issue
Block a user