Skip to content

Commit 457c79f

Browse files
committed
fix(authentication): Allow any user to reset password
1 parent 6dc1e9c commit 457c79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigma/authentication/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def post(self, request, *args, **kwargs):
3434

3535
class ResetPasswordAPIView(generics.GenericAPIView):
3636
serializer_class = ResetPasswordSerializer
37-
permission_classes = (permissions.IsAuthenticated,)
37+
permission_classes = (permissions.AllowAny,)
3838

3939
def put(self, request, *args, **kwargs):
4040
user = self.request.user

0 commit comments

Comments
 (0)