IITGN-CS431 / project-cns

1 stars 27 forks source link

Functionality Issue [Group-9] : Account Persistence Issue(Unable to Reuse Auth File After Bank Restart) #277

Closed Chhavigoyal02 closed 1 week ago

Chhavigoyal02 commented 1 week ago

The current implementation lacks a database system for persistent storage. If a bank account is created and the bank is stopped and restarted, the same account cannot be accessed again. Specifically:

After starting the bank with an auth file (e.g., bank10.auth), the file cannot be reused when restarting the bank. On the ATM side, it displays errors like "Invalid PIN or card file" when attempting to log in with the same account. This issue prevents users from accessing previously created accounts after a bank restart. Persistent storage needs to be implemented to retain account data across sessions

image image