Apply suggestions from code review

This commit is contained in:
Brennan Kinney 2024-01-06 13:36:54 +13:00 committed by GitHub
parent 7facf79b3c
commit 6a801888e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -5,9 +5,6 @@ function _setup_oauth2() {
# Enable OAuth2 PassDB (Authentication): # Enable OAuth2 PassDB (Authentication):
sed -i -e '/\!include auth-oauth2\.conf\.ext/s/^#//' /etc/dovecot/conf.d/10-auth.conf sed -i -e '/\!include auth-oauth2\.conf\.ext/s/^#//' /etc/dovecot/conf.d/10-auth.conf
_log 'trace' "Configuring Dovecot OAUTH2"
_replace_by_env_in_file 'OAUTH2_' '/etc/dovecot/dovecot-oauth2.conf.ext' _replace_by_env_in_file 'OAUTH2_' '/etc/dovecot/dovecot-oauth2.conf.ext'
return 0 return 0