1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-07 14:40:05 +00:00

fix: remove authProvider attribute from user and group payload interface

This commit is contained in:
2022-10-01 15:06:55 +05:00
parent 68f0c5c588
commit bbd7786c6c
3 changed files with 2 additions and 23 deletions

View File

@@ -18,11 +18,6 @@ export interface UserPayload {
* Password for user
*/
password: string
/**
* Identifies the source from which user is created
* @example "internal"
*/
authProvider?: AuthProviderType
/**
* Account should be admin or not, defaults to false
* @example "false"
@@ -48,6 +43,7 @@ interface IUserDocument extends UserPayload, Document {
autoExec: string
groups: Schema.Types.ObjectId[]
tokens: [{ [key: string]: string }]
authProvider?: AuthProviderType
}
export interface IUser extends IUserDocument {