forked from crudo/macao-pos
Fix authentication bug on sell page.
This commit is contained in:
parent
e7874a10ee
commit
54e814e801
1
web.py
1
web.py
|
@ -99,6 +99,7 @@ def get_event(session):
|
||||||
|
|
||||||
|
|
||||||
@app.route('/sell', methods=['GET'])
|
@app.route('/sell', methods=['GET'])
|
||||||
|
@login_required
|
||||||
def sell_page():
|
def sell_page():
|
||||||
with db.get_session() as session:
|
with db.get_session() as session:
|
||||||
products = get_products(session)
|
products = get_products(session)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user