From 4c3ec0564f83266f227b7b8afbd842b3cf4c1c21 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 23 Jul 2018 12:57:48 +0200 Subject: [PATCH] [Bugfix] Fix registration Allow POSTing to the registration endpoint --- calsocial/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calsocial/account.py b/calsocial/account.py index 57ac972..a6b4d29 100644 --- a/calsocial/account.py +++ b/calsocial/account.py @@ -46,7 +46,7 @@ class AccountBlueprint(Blueprint, RoutedMixin): app.register_blueprint(self, url_prefix=url_prefix) @staticmethod - @RoutedMixin.route('/register') + @RoutedMixin.route('/register', methods=['POST', 'GET']) def register_account(): """View for user registration