forked from gergely/calendar-social
[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)
|
||||
|
||||
@staticmethod
|
||||
@RoutedMixin.route('/register')
|
||||
@RoutedMixin.route('/register', methods=['POST', 'GET'])
|
||||
def register_account():
|
||||
"""View for user registration
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user