mirror of
https://github.com/dirkjanm/ROADtools
synced 2026-06-08 13:48:32 +00:00
roadrecon: fix userType not being sent by server to frontend
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user