Skip to content

Commit 9dbc682

Browse files
committed
forgot to add the logout
1 parent fb856dd commit 9dbc682

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

app/quick_acg/quick_acg_app/views.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ def ds_must_authenticate():
7474
session["auth_type"] = "code_grant"
7575
return redirect(url_for("ds.ds_login"))
7676

77+
@ds.route("/logout")
78+
def ds_logout():
79+
ds_logout_internal()
80+
flash("You have logged out from DocuSign.")
81+
app.config["isLoggedIn"] = False
82+
app.config["quickstart"] = False
83+
84+
return redirect(url_for("core.index"))
85+
7786
@ds.route("/ds_return")
7887
def ds_return():
7988
return redirect(url_for("core.index"))

0 commit comments

Comments
 (0)