Development

This commit is contained in:
Matthew Grotke 2026-05-27 22:04:04 -04:00
parent eed1d295dc
commit d9f3bd8289
45 changed files with 635 additions and 666 deletions

View file

@ -13,9 +13,9 @@ def require_level(minimum):
if LEVEL_RANK.get(current, 0) < LEVEL_RANK.get(minimum, 0):
if current == 'nothing':
flash('Please log in to continue.', 'error')
return redirect('/view/view_login')
return redirect('/accountlogin')
flash('You do not have permission to perform this action.', 'error')
return redirect('/view/view_overview')
return redirect('/overview')
return f(*args, **kwargs)
return wrapper
return decorator