From 0a0007dee01f2bf17371967105a6ab3c43f85550 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 6 Jul 2021 18:30:31 +0000 Subject: Begin work on adding user interaction This commit adds support for getting information about a user, as well as accessing their inbox (not actually getting a CollectionPage yet, though). Currently the inbox does not require the right user to be logged in to access their personal inbox; this should be fixed. --- sw/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/__init__.py') diff --git a/sw/__init__.py b/sw/__init__.py index 2601940..b4224fb 100644 --- a/sw/__init__.py +++ b/sw/__init__.py @@ -2,7 +2,7 @@ import os from flask import Flask -from sw import auth, ap, db +from sw import auth, ap, db, users def create_app(test_config=None): @@ -31,5 +31,6 @@ def create_app(test_config=None): app.register_blueprint(auth.bp) app.register_blueprint(ap.bp) + app.register_blueprint(users.bp) return app -- cgit v1.2.1