Skip to content

Hashing for safe create command #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

nbovee
Copy link
Contributor

@nbovee nbovee commented Jun 3, 2024

A fix for #20;

current:

/usr/src/website # python manage.py dumpdata auth.user
[{
  "model": "auth.user",
  "pk": 1,
  "fields": {
    "password": "admin",
    "last_login": null, 
    "is_superuser": true,
    "username": "admin",
    "first_name": "",
    "last_name": "",
    "email": "[email protected]",
    "is_staff": true,
    "is_active": true,
    "date_joined": "2024-06-03T21:27:21.811Z",
    "groups": [],
    "user_permissions": []
  }
}]

this PR:

/usr/src/website # python manage.py dumpdata auth.user
[{
  "model": "auth.user",
  "pk": 1,
  "fields": {
    "password": "pbkdf2_sha256$600000$rU94cxPQuV2V4Vl2kForP4$W6ryPcY16+wp7z3QRe3gAibChUgv2/DV0dXWSQokhZ8=",
    "last_login": 2024-06-03T21:48:14.076Z, 
    "is_superuser": true,
    "username": "admin",
    "first_name": "",
    "last_name": "",
    "email": "[email protected]",
    "is_staff": true,
    "is_active": true,
    "date_joined": "2024-06-03T21:47:32.986Z",
    "groups": [],
    "user_permissions": []
  }
}]

@amerkurev amerkurev merged commit 93895d4 into amerkurev:master Jun 3, 2024
2 checks passed
@nbovee
Copy link
Contributor Author

nbovee commented Jun 3, 2024

My apologies for not catching this before the first PR, I only saw something was up when upgrading my dev site.

@amerkurev
Copy link
Owner

@nbovee thanks a lot for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants