Skip to content

Authentication system for the vending machine#2

Open
TSAsmilex wants to merge 2 commits intoPacalor:mainfrom
TSAsmilex:main
Open

Authentication system for the vending machine#2
TSAsmilex wants to merge 2 commits intoPacalor:mainfrom
TSAsmilex:main

Conversation

@TSAsmilex
Copy link

This PR adds a new authentication system whichs controls how the tickets are bought.

With this patch it is necessary to login in order to buy tickets. This will also allow in the future to cancel tickets given the user has logged in properly.

A new attribute has been added to the class Rome, named HashMap<Ticket, User> tickets, which is currently not used but updated properly. In the future we should try to maintain exclusively one data structure, instead of only schecking HashSet<GregorianCalendar>.

TSAsmilex and others added 2 commits October 13, 2022 13:01
Co-authored-by: Andrés Millán @t-systems <TSAsmilex@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant