Skip to content
Snippets Groups Projects
Commit e14ab697 authored by Lucas Perais (lpe)'s avatar Lucas Perais (lpe)
Browse files

[FIX] point_of_sale: control if a cashier is in localstorage

Before this commit, we could temporarily change cashier from A to B, and back to A seamlessly just by refreshing the page.
This could be a security issue for a cashier is held responsible for its sales.

This commit stores the cashier in localstorage, and with the right sets of methods, corrects the issue.

OPW 767827

closes #19207
parent dc88a1ac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment