Skip to content

Commit

Permalink
semgrep RA for password
Browse files Browse the repository at this point in the history
  • Loading branch information
quirinziessler committed Dec 4, 2023
1 parent 67b0226 commit cbd34af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defectdojo_api/defectdojo_apiv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def delete_user(self, user_id):
"""
return self._request('DELETE', f'users/{user_id}/')

def create_user(self,user_name,first_name=None,last_name=None,email=None,is_active=True,is_superuser=False, password="asdf"): # nosec
def create_user(self,user_name,first_name=None,last_name=None,email=None,is_active=True,is_superuser=False, password="asdf"): # nosemgrep
"""password have to change this is justfor development use only"""
data={"username":user_name,
"is_active":is_active,
Expand Down

0 comments on commit cbd34af

Please sign in to comment.