roadrecon: fix userType not being sent by server to frontend

This commit is contained in:
Dirk-jan Mollema
2022-11-23 19:50:00 +01:00
parent b40834a1b8
commit 5cb34cf619
3 changed files with 4 additions and 3 deletions
@@ -12,7 +12,8 @@
<tr *ngIf="user.lastPasswordChangeDateTime != null"><th>Last password change</th><td>{{ user.lastPasswordChangeDateTime }}</td></tr>
<tr *ngIf="user.jobTitle != null"><th>Job Title</th><td>{{ user.jobTitle }}</td></tr>
<tr *ngIf="user.mobile != null"><th>Mobile</th><td>{{ user.mobile }}</td></tr>
<tr><th>Account type</th><td>{{ user.dirSyncEnabled? 'Synced with AD':'Cloud-only' }}</td></tr>
<tr><th>Account source</th><td>{{ user.dirSyncEnabled? 'Synced with AD':'Cloud-only' }}</td></tr>
<tr><th>Account type</th><td>{{ user.userType }}</td></tr>
<tr><th>Status</th><td>{{ user.accountEnabled? 'Enabled':'Disabled' }}</td></tr>
</table>
</mat-card>
+1 -1
View File
@@ -41,7 +41,7 @@ class RTModelSchema(ma.SQLAlchemyAutoSchema):
class UsersSchema(ma.Schema):
class Meta:
model = User
fields = ('objectId', 'objectType', 'userPrincipalName', 'displayName', 'mail', 'lastDirSyncTime', 'accountEnabled', 'department', 'lastPasswordChangeDateTime', 'jobTitle', 'mobile', 'dirSyncEnabled', 'strongAuthenticationDetail')
fields = ('objectId', 'objectType', 'userPrincipalName', 'displayName', 'mail', 'lastDirSyncTime', 'accountEnabled', 'department', 'lastPasswordChangeDateTime', 'jobTitle', 'mobile', 'dirSyncEnabled', 'strongAuthenticationDetail', 'userType')
class DevicesSchema(ma.Schema):
class Meta:
+1 -1
View File
@@ -1,6 +1,6 @@
from setuptools import setup
setup(name='roadrecon',
version='1.0.0',
version='1.0.1',
description='Azure AD recon for red/blue',
author='Dirk-jan Mollema',
author_email='dirkjan@dirkjanm.io',