mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Note about tricky redirects in PromoteController.GET_listing.
This commit is contained in:
@@ -258,6 +258,7 @@ class PromoteController(ListingController):
|
||||
sr=nop('sr'))
|
||||
def GET_listing(self, sr=None, sort="", **env):
|
||||
if not c.user_is_loggedin or not c.user.email_verified:
|
||||
# never reached--see MinimalController.on_validation_error
|
||||
return self.redirect("/ad_inq")
|
||||
self.sort = sort
|
||||
self.sr = None
|
||||
|
||||
Reference in New Issue
Block a user