Prevent framing on prefs pages.

Thanks, /u/olemoudi.
This commit is contained in:
Max Goodman
2013-02-22 15:48:21 -08:00
parent 8ddd5c51bf
commit 37b9073e38

View File

@@ -1182,6 +1182,7 @@ class FormsController(RedditController):
return BoringPage(_("reset password"),
content=ResetPassword(key=key, done=done)).render()
@prevent_framing_and_css()
@validate(VUser(),
location=nop("location"))
def GET_prefs(self, location=''):