Skip to content
Browse files

removing the static check altogether, fixes #51

  • Loading branch information...
1 parent 1adcc99 commit 97a5f4f4bf326455682cad9446e6ea22609f7135 @maxcountryman committed Jun 17, 2013
Showing with 0 additions and 7 deletions.
  1. +0 −7 flask_login.py
View
7 flask_login.py
@@ -277,13 +277,6 @@ def reload_user(self):
ctx.user = user
def _load_user(self):
- if current_app.static_url_path is not None \
- and request.path.startswith(current_app.static_url_path):
-
- # load up an anonymous user for static pages
- _request_ctx_stack.top.user = self.anonymous_user()
- return
-
config = current_app.config
if config.get('SESSION_PROTECTION', self.session_protection):
deleted = self._session_protection()

0 comments on commit 97a5f4f

Please sign in to comment.
Something went wrong with that request. Please try again.