feat(shell-sync): log_oauth_authorization_guidance() part 2/2

This commit is contained in:
hoelee committed 2026-05-22 09:00:00 +08:00
1 parent 91f50eda23
commit b76f51bd80
1 file changed
+6
+6
View File
@@ -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
}