Skip to content

Commit

Permalink
Remove HANA tokens after updating; forces re-issue from the server an…
Browse files Browse the repository at this point in the history
…d ensure any outdated tokens are removed (#160)

Co-authored-by: Daniel McKnight <daniel@neon.ai>
  • Loading branch information
NeonDaniel and NeonDaniel authored Jun 25, 2024
1 parent 7d5e50e commit ab1918b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion overlays/31-updater-service/opt/neon/finalize_update
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ chmod +x /opt/neon/validate_directory_permissions
if [ -d "${home_dir}/.local/share/neon/skills/skill-icanhazdadjokes.jarbasskills" ]; then
echo "Legacy jokes skill found and will be removed"
rm -rf "${home_dir}/.local/share/neon/skills/skill-icanhazdadjokes.jarbasskills"
fi
fi

# Cleanup old HANA tokens
rm "${home_dir}/.cache/neon/hana_token_"*

0 comments on commit ab1918b

Please sign in to comment.