Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Enable Auto Approval of Accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina Jalali authored and Sina Jalali committed Dec 7, 2023
1 parent 05450a0 commit 6de55d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def show_account(account_id):


@app.route("/login", methods=["POST"])
# @app.route("/activate", methods=["POST"])
@app.route("/activate", methods=["POST"])
def login():
add_request_context_to_log(str(uuid.uuid4()))
encoded = request.form.get("x-gcp-marketplace-token")
Expand Down Expand Up @@ -160,7 +160,7 @@ def test():


@app.route("/register", methods=["POST"])
@app.route("/activate", methods=["POST"])
# @app.route("/activate", methods=["POST"])
def register():
if settings.dlp_store_base is None:
return "Could not find the DLP Store API, please contact support.", 200
Expand Down

0 comments on commit 6de55d1

Please sign in to comment.