feat(shell-sync): log_oauth_authorization_guidance() part 2/2
This commit is contained in:
1 parent
91f50eda23
commit
b76f51bd80
1 file changed
+6
@@ -47,3 +47,9 @@ log_oauth_authorization_guidance() {
|
||||
local provider="$2"
|
||||
local logfile="$3"
|
||||
|
||||
if oauth_authorization_invalid "$logfile"; then
|
||||
log "Account $i: OAuth2 authorization is expired, revoked, or rejected by $provider. Reauthorize with: docker compose run --rm imapsync authorize $i"
|
||||
log "Account $i: After reauthorization, run immediately with: docker compose exec imapsync sync.sh sync $i"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user