remove TODO for checking user against invitation
This commit is contained in:
parent
cb25dcdd32
commit
43eeba2f96
@ -361,8 +361,6 @@ def update_member(workspace_id, member_id):
|
|||||||
|
|
||||||
@bp.route("/workspaces/invitation/<token>", methods=["GET"])
|
@bp.route("/workspaces/invitation/<token>", methods=["GET"])
|
||||||
def accept_invitation(token):
|
def accept_invitation(token):
|
||||||
# TODO: check that the current_user DOD ID matches the user associated with
|
|
||||||
# the invitation
|
|
||||||
invite = Invitations.accept(g.current_user, token)
|
invite = Invitations.accept(g.current_user, token)
|
||||||
|
|
||||||
return redirect(
|
return redirect(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user