store: fix staff ratelimit (#2279)

This commit is contained in:
Alexandre Aubin 2024-05-01 19:57:44 +02:00 committed by GitHub
parent 96e3468a9b
commit 802698ea39

View file

@ -252,7 +252,7 @@ def add_to_wishlist():
checks = [
(
check_wishlist_submit_ratelimit(session["user"]["username"]) is True
and session["user"]["bypass_ratelimit"] is False,
or session["user"]["bypass_ratelimit"] is True,
_(
"Proposing wishlist additions is limited to once every 15 days per user. Please try again in a few days."
),