Skip to content

Commit 92965a8

Browse files
Ani1357ferruhcihan
andauthored
fix: remove team password generation (#719)
* fix: removing special chars from team password * feat: remove team password generation --------- Co-authored-by: otomi-admin <[email protected]>
1 parent 4a91887 commit 92965a8

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/otomi-stack.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -655,20 +655,6 @@ export default class OtomiStack {
655655

656656
async createTeam(data: Team, deploy = true): Promise<Team> {
657657
const teamName = data.name
658-
659-
if (isEmpty(data.password)) {
660-
debug(`creating password for team '${data.name}'`)
661-
// eslint-disable-next-line no-param-reassign
662-
data.password = generatePassword({
663-
length: 16,
664-
numbers: true,
665-
symbols: '!@#$%&*',
666-
lowercase: true,
667-
uppercase: true,
668-
strict: true,
669-
})
670-
}
671-
672658
const teamConfig = this.repoService.createTeamConfig(data)
673659
const team = teamConfig.settings
674660
const apps = getAppList()

0 commit comments

Comments
 (0)