Generating a valid account for MSSQL.

This commit is contained in:
Rodrigo Rodriguez (pragmatismo.io) 2018-10-17 19:57:22 -03:00
parent 533787372f
commit 4011edfb19

View file

@ -126,7 +126,7 @@ export class AzureDeployerService extends GBService {
let administratorLogin = AzureDeployerService.getRndAdminAccount(); let administratorLogin = AzureDeployerService.getRndAdminAccount();
let administratorPassword = AzureDeployerService.getRndPassword(); let administratorPassword = AzureDeployerService.getRndPassword();
logger.info(`Deploying Bot Storage ...`); logger.info(`Deploying Bot Storage...`);
let storageServerName = `${name}-storage-server`; let storageServerName = `${name}-storage-server`;
await this.createStorageServer( await this.createStorageServer(
name, name,
@ -483,10 +483,10 @@ export class AzureDeployerService extends GBService {
private static getRndAdminAccount() { private static getRndAdminAccount() {
const passwordGenerator = new PasswordGenerator(); const passwordGenerator = new PasswordGenerator();
const options = { const options = {
upperCaseAlpha: true, upperCaseAlpha: false,
lowerCaseAlpha: true, lowerCaseAlpha: true,
number: true, number: true,
specialCharacter: true, specialCharacter: false,
minimumLength: 8, minimumLength: 8,
maximumLength: 8 maximumLength: 8
}; };