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