the37lab-authlib 0.1.1749278662__py3-none-any.whl → 0.1.1749279322__py3-none-any.whl
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.
Potentially problematic release.
This version of the37lab-authlib might be problematic. Click here for more details.
- the37lab_authlib/auth.py +5 -3
- {the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/METADATA +1 -1
- {the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/RECORD +5 -5
- {the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/WHEEL +0 -0
- {the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/top_level.txt +0 -0
the37lab_authlib/auth.py
CHANGED
|
@@ -499,10 +499,12 @@ class AuthManager:
|
|
|
499
499
|
id_generator=self.db.get_id_generator()
|
|
500
500
|
)
|
|
501
501
|
cur.execute("""
|
|
502
|
-
INSERT INTO users (
|
|
503
|
-
VALUES (%s, %s, %s, %s, %s
|
|
504
|
-
|
|
502
|
+
INSERT INTO users (username, email, real_name, created_at, updated_at)
|
|
503
|
+
VALUES (%s, %s, %s, %s, %s)
|
|
504
|
+
RETURNING id
|
|
505
|
+
""", (user.username, user.email, user.real_name,
|
|
505
506
|
user.created_at, user.updated_at))
|
|
507
|
+
user.id = cur.fetchone()['id']
|
|
506
508
|
user = {'id': user.id, 'username': user.username, 'email': user.email,
|
|
507
509
|
'real_name': user.real_name, 'roles': []}
|
|
508
510
|
else:
|
{the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/RECORD
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
the37lab_authlib/__init__.py,sha256=QxIyIyb-b2C91a9vSE05cFov-MFwprBnPLUTCz1rAGo,136
|
|
2
|
-
the37lab_authlib/auth.py,sha256=
|
|
2
|
+
the37lab_authlib/auth.py,sha256=olon7oBUeB_V6KIZ4H42rbN34c7h1_owJ5yUhOdYDoI,21429
|
|
3
3
|
the37lab_authlib/db.py,sha256=iXA8kPAZ2SCZgXtrfNIoCnkDwm5W-Cl2MvT1X6ulwqY,2807
|
|
4
4
|
the37lab_authlib/decorators.py,sha256=UaBPvMnOcNnYI8VdkXtKWHRBAVJ8yCb6ZhQCBUCgmE4,1249
|
|
5
5
|
the37lab_authlib/exceptions.py,sha256=ONA64ktHAuj4w0ur4xUeWZQQmfZw9hHo4che1Bi-M3s,327
|
|
6
6
|
the37lab_authlib/models.py,sha256=9-9ndGq-o9VGjHF8VvgMHvjhYOEapfOkocfjpqEFHY4,3516
|
|
7
|
-
the37lab_authlib-0.1.
|
|
8
|
-
the37lab_authlib-0.1.
|
|
9
|
-
the37lab_authlib-0.1.
|
|
10
|
-
the37lab_authlib-0.1.
|
|
7
|
+
the37lab_authlib-0.1.1749279322.dist-info/METADATA,sha256=IExajURnxE--J9SdXmlPOfN8yMFgeXQw_WsFfM9WuYg,2711
|
|
8
|
+
the37lab_authlib-0.1.1749279322.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
9
|
+
the37lab_authlib-0.1.1749279322.dist-info/top_level.txt,sha256=6Jmxw4UeLrhfJXgRKbXWY4OhxRSaMs0dKKhNCGWWSwc,17
|
|
10
|
+
the37lab_authlib-0.1.1749279322.dist-info/RECORD,,
|
{the37lab_authlib-0.1.1749278662.dist-info → the37lab_authlib-0.1.1749279322.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|