aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/users/admin/views.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-09 16:35:40 -0500
committerFrederick Muriuki Muriithi2024-10-09 16:53:50 -0500
commit3a276642bea934f0a7ef8f581d8639e617357a2a (patch)
tree2925f5daffff416acc5f4bf565b67b77d2c3c13d /gn_auth/auth/authorisation/users/admin/views.py
parent6445b327f77726bd70e38268393b57d7a8042182 (diff)
downloadgn-auth-3a276642bea934f0a7ef8f581d8639e617357a2a.tar.gz
Linting: Fix minor linting errors
Diffstat (limited to 'gn_auth/auth/authorisation/users/admin/views.py')
-rw-r--r--gn_auth/auth/authorisation/users/admin/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn_auth/auth/authorisation/users/admin/views.py b/gn_auth/auth/authorisation/users/admin/views.py
index 5ad9038..9bc1c36 100644
--- a/gn_auth/auth/authorisation/users/admin/views.py
+++ b/gn_auth/auth/authorisation/users/admin/views.py
@@ -327,6 +327,7 @@ def delete_client():
@admin.route("/clients/<uuid:client_id>/change-secret", methods=["GET", "POST"])
@is_admin
def change_client_secret(client_id: uuid.UUID):
+ """Enable changing of a client's secret."""
def __no_client__():
# Calling the function causes the flash to be evaluated
# flash("No such client was found!", "alert-danger")