rapid7 / awsaml

Awsaml is an application for providing automatically rotated temporary AWS credentials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic token renewal breaks after you log out

fmitchell-r7 opened this issue · comments

If you log out of Awsaml by clicking the "Logout" button, the automatic token renewal process stops working. We clear the timer interval to stop the loop, but never start it back up again.

For now, we can fix this by clearing the entryPointUrl attribute (instead of the timer interval) when logging out, and only calling mainWindow.loadURL if the attribute's not null.