mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Prevent framing on prefs pages.
Thanks, /u/olemoudi.
This commit is contained in:
@@ -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=''):
|
||||
|
||||
Reference in New Issue
Block a user