[Bugfix] Fix registration

Allow POSTing to the registration endpoint
This commit is contained in:
Gergely Polonkai 2018-07-23 12:57:48 +02:00
parent f8e3c748c0
commit 4c3ec0564f
1 changed files with 1 additions and 1 deletions

View File

@ -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