Apply suggestions from code review
This commit is contained in:
parent
7facf79b3c
commit
6a801888e1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue