mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
enum use on community user initialization
This commit is contained in:
parent
e55f516c51
commit
60e3f62832
@ -1,5 +1,6 @@
|
|||||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||||
|
|
||||||
|
import { PasswordEncryptionType } from '@/graphql/enum/PasswordEncryptionType'
|
||||||
import { SaveOptions, RemoveOptions } from '@dbTools/typeorm'
|
import { SaveOptions, RemoveOptions } from '@dbTools/typeorm'
|
||||||
import { User as dbUser } from '@entity/User'
|
import { User as dbUser } from '@entity/User'
|
||||||
import { UserContact } from '@entity/UserContact'
|
import { UserContact } from '@entity/UserContact'
|
||||||
@ -27,7 +28,7 @@ const communityDbUser: dbUser = {
|
|||||||
publisherId: 0,
|
publisherId: 0,
|
||||||
passphrase: '',
|
passphrase: '',
|
||||||
// default password encryption type
|
// default password encryption type
|
||||||
passwordEncryptionType: 0,
|
passwordEncryptionType: PasswordEncryptionType.NO_PASSWORD,
|
||||||
hasId: function (): boolean {
|
hasId: function (): boolean {
|
||||||
throw new Error('Function not implemented.')
|
throw new Error('Function not implemented.')
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user