[Bugfix] Fix registration
Allow POSTing to the registration endpoint
This commit is contained in:
parent
f8e3c748c0
commit
4c3ec0564f
@ -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
Block a user