Skip to content

Commit

Permalink
fix dumb password flaw
Browse files Browse the repository at this point in the history
Signed-off-by: Darshan Kumar <[email protected]>
  • Loading branch information
itsdarshankumar committed Aug 18, 2024
1 parent 82bd727 commit 7f2b6dd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 172 deletions.
4 changes: 0 additions & 4 deletions config/identity.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
"type": "string",
"title": "Invite Status"
},
"password": {
"type": "string",
"title": "Password"
},
"img_url": {
"type": "string",
"title": "Profile Image URL"
Expand Down
1 change: 0 additions & 1 deletion pkg/wrapper/kratos/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func CreateIdentityFlowWrapper(data Identity) (*client.Identity, *http.Response,
trait := map[string]interface{}{
"email": data.Email,
"name": data.Name,
"password": data.Password,
"phone_number": data.PhoneNumber,
"img_url": data.ImgURL,
"invite_status": "pending",
Expand Down
1 change: 0 additions & 1 deletion pkg/wrapper/kratos/registration/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func SubmitRegistrationFlowWrapper(cookie string, flowID string, csrfToken strin
trait := map[string]interface{}{
"email": data.Email,
"name": data.Name,
"password": password,
"img_url": data.ImgURL,
"phone_number": data.PhoneNumber,
"invite_status": "self_created",
Expand Down
85 changes: 0 additions & 85 deletions schema/identity.schema.json

This file was deleted.

81 changes: 0 additions & 81 deletions schema/users.json

This file was deleted.

0 comments on commit 7f2b6dd

Please sign in to comment.