[Bugfix] Fix registration
Allow POSTing to the registration endpoint
This commit is contained in:
parent
8dcb7b91ef
commit
46316d5396
|
@ -46,7 +46,7 @@ class AccountBlueprint(Blueprint, RoutedMixin):
|
||||||
app.register_blueprint(self, url_prefix=url_prefix)
|
app.register_blueprint(self, url_prefix=url_prefix)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@RoutedMixin.route('/register')
|
@RoutedMixin.route('/register', methods=['POST', 'GET'])
|
||||||
def register_account():
|
def register_account():
|
||||||
"""View for user registration
|
"""View for user registration
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue