Honor a user's "remember me" request on login.

The "rem" variable isn't being passed from POST_login()
to handle_login(), so the latter isn't aware of the
user's selecting the option.  This rectifies that.
This commit is contained in:
Joshua Uziel
2016-05-07 14:22:39 -07:00
committed by Chris Slowe
parent 396fb26291
commit c60c9319c6

View File

@@ -630,6 +630,7 @@ class ApiController(RedditController):
form=form,
responder=responder,
user=user,
rem=rem,
))
return handle_login(**kwargs)