Skip to content

Commit

Permalink
Improved readability of continued line.
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonFortney committed Jan 16, 2017
1 parent 174aef3 commit 757efcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_login/login_manager.py
Expand Up @@ -276,8 +276,8 @@ def needs_refresh(self):

config = current_app.config
if config.get('USE_SESSION_FOR_NEXT', USE_SESSION_FOR_NEXT):
session['next'] = make_next_param(
expand_login_view(self.refresh_view), request.url)
url = expand_login_view(self.refresh_view)
session['next'] = make_next_param(url, request.url)
redirect_url = login_url(self.refresh_view)
else:
redirect_url = login_url(self.refresh_view, request.url)
Expand Down

0 comments on commit 757efcd

Please sign in to comment.