From 42988c0f882c073a16d9100296ffa3d2147f7aae Mon Sep 17 00:00:00 2001 From: poduck Date: Tue, 2 Dec 2025 11:22:13 -0500 Subject: [PATCH] fix(platform): Allow POST method for verify_email action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PlatformUserViewSet restricted HTTP methods to GET and PATCH, but the verify_email action requires POST. Added POST to allowed methods. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- smoothschedule/platform_admin/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoothschedule/platform_admin/views.py b/smoothschedule/platform_admin/views.py index 039e80e..18868c2 100644 --- a/smoothschedule/platform_admin/views.py +++ b/smoothschedule/platform_admin/views.py @@ -820,7 +820,7 @@ class PlatformUserViewSet(viewsets.ModelViewSet): queryset = User.objects.all().order_by('-date_joined') serializer_class = PlatformUserSerializer permission_classes = [IsAuthenticated, IsPlatformAdmin] - http_method_names = ['get', 'patch', 'head', 'options'] # Allow GET and PATCH + http_method_names = ['get', 'post', 'patch', 'head', 'options'] # Allow GET, POST, and PATCH def get_queryset(self): """Optionally filter by business or role"""