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