parent
b55d210aff
commit
cf583a22fa
@ -47,6 +47,13 @@ export class ResponseUser extends ResponsePrincipal {
|
||||
@IsString()
|
||||
email?: string;
|
||||
|
||||
/**
|
||||
* The user's username.
|
||||
* Optional.
|
||||
*/
|
||||
@IsString()
|
||||
username?: string;
|
||||
|
||||
/**
|
||||
* is user enabled?
|
||||
*/
|
||||
@ -81,6 +88,7 @@ export class ResponseUser extends ResponsePrincipal {
|
||||
this.lastname = user.lastname;
|
||||
this.phone = user.phone;
|
||||
this.email = user.email;
|
||||
this.username = user.username;
|
||||
this.enabled = user.enabled;
|
||||
this.profilePic = user.profilePic;
|
||||
this.groups = user.groups;
|
||||
|
Loading…
x
Reference in New Issue
Block a user