scst-proxy 0.7.2__tar.gz → 0.7.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/PKG-INFO +1 -1
  2. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/views.py +2 -1
  3. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy.egg-info/PKG-INFO +1 -1
  4. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/setup.py +1 -1
  5. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/MANIFEST.in +0 -0
  6. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/__init__.py +0 -0
  7. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/admin.py +0 -0
  8. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/apps.py +0 -0
  9. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/auth_hooks.py +0 -0
  10. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/forms.py +0 -0
  11. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/helpers.py +0 -0
  12. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/0001_initial.py +0 -0
  13. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/0002_alter_pluginsettings_options.py +0 -0
  14. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/0003_alter_pluginsettings_options.py +0 -0
  15. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/0004_pluginsettings_proxy_address.py +0 -0
  16. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/0005_alter_pluginsettings_options.py +0 -0
  17. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/migrations/__init__.py +0 -0
  18. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/models.py +0 -0
  19. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/signals.py +0 -0
  20. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/tasks.py +0 -0
  21. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/templates/scst_proxy/main.html +0 -0
  22. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/templates/scst_proxy/settings.html +0 -0
  23. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy/urls.py +0 -0
  24. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy.egg-info/SOURCES.txt +0 -0
  25. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy.egg-info/dependency_links.txt +0 -0
  26. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy.egg-info/requires.txt +0 -0
  27. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/scst_proxy.egg-info/top_level.txt +0 -0
  28. {scst_proxy-0.7.2 → scst_proxy-0.7.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scst_proxy
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: Register user on SCST proxy server
5
5
  Author: Aleksey Misyagin
6
6
  Author-email: me@misyagin.ru
@@ -5,6 +5,7 @@ from django.contrib.auth.models import User
5
5
  from django.core.exceptions import PermissionDenied
6
6
  from django.http import JsonResponse
7
7
  from django.shortcuts import render
8
+ from django.utils.crypto import get_random_string
8
9
  from django.views.decorators.http import require_http_methods
9
10
  import requests
10
11
 
@@ -64,7 +65,7 @@ def call_api_endpoint(request):
64
65
  api_base = settings.api_endpoint.rstrip('/')
65
66
  api_url = f'{api_base}/add'
66
67
 
67
- newPassword = User.objects.make_random_password()
68
+ newPassword = get_random_string(length=16, allowed_chars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789')
68
69
  params = {
69
70
  'password': newPassword,
70
71
  'login': character_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scst_proxy
3
- Version: 0.7.2
3
+ Version: 0.7.3
4
4
  Summary: Register user on SCST proxy server
5
5
  Author: Aleksey Misyagin
6
6
  Author-email: me@misyagin.ru
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='scst_proxy',
5
- version='0.7.2',
5
+ version='0.7.3',
6
6
  packages=find_packages(),
7
7
  include_package_data=True,
8
8
  install_requires=[
File without changes
File without changes