Skip to content

Commit

Permalink
refactor: disable user registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo Vidal committed Jun 29, 2020
1 parent 90bf9ba commit 48f9163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def get_user_permissions(username):
return responses.success(UsersController.get_user_permissions(username))


"""
@app.route('/v1/users', methods=['POST'])
def create_user():
required_data = {
Expand All @@ -48,6 +49,7 @@ def create_user():
username=data['username'],
password=data['password'])
return responses.created()
"""


@app.route('/v1/users/<string:username>', methods=['PATCH'])
Expand Down

0 comments on commit 48f9163

Please sign in to comment.