diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 15:47:38 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 15:47:38 -0800 |
commit | 7f50c87b58e089b17204da63a48a8747a0f9dd44 (patch) | |
tree | 91bda9fe3120a3dea7153bb78e3bc222d67f815a /python | |
parent | fce7f8931185873653461ad33805117800bc4ab3 (diff) | |
download | fatcat-7f50c87b58e089b17204da63a48a8747a0f9dd44.tar.gz fatcat-7f50c87b58e089b17204da63a48a8747a0f9dd44.zip |
send user to login page if they need to auth to continue
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_web/__init__.py b/python/fatcat_web/__init__.py index 53947143..cd7af195 100644 --- a/python/fatcat_web/__init__.py +++ b/python/fatcat_web/__init__.py @@ -18,6 +18,7 @@ FlaskUUID(app) login_manager = LoginManager() login_manager.init_app(app) +login_manager.login_view = "/auth/login" oauth = OAuth(app) # Grabs sentry config from SENTRY_DSN environment variable |