bnw / firefly-iii-fints-importer

Import financial transactions from you FinTS enabled bank into Firefly III.
GNU Affero General Public License v3.0
155 stars 23 forks source link

removed global cleanup #140

Open TyrionWarMage opened 3 months ago

TyrionWarMage commented 3 months ago

Fixed a misunderstanding concerning the default step. I assumed, this is only triggered in case the import is finished and can therefore be used for cleanup tasks. However, i found there are code paths that do not return a valid next step and therefore trigger the default step. This concerns #138.

This PR moves the password cleanup into the import step, after the FinTS tasks are done. In case of abnormal exist, the cache will be cleared after 600 seconds on the next request.