Skip to content

Commit 36e42a3

Browse files
committed
fixes for joinpage and updating TF for xlarge again
1 parent 4483320 commit 36e42a3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module "eks" {
8787
disk_type = "gp3"
8888
disk_throughput = 150
8989
disk_iops = 3000
90-
instance_types = ["t3a.large"]
90+
instance_types = ["t3a.xlarge"]
9191

9292
iam_role_additional_policies = [
9393
"arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy",

wrongsecrets-balancer/ui/src/pages/JoinPage.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ export const JoinPage = injectIntl(({ intl }) => {
5252

5353
async function sendJoinRequest() {
5454
try {
55+
if(!teamname || teamname.length === 0){
56+
setFailed(true);
57+
return;
58+
}
5559
if (dynamics.enable_password) {
5660
const hmacvalue = cryptoJS
5761
.HmacSHA256(`${teamname}`, 'hardcodedkey')
@@ -207,7 +211,7 @@ export const JoinPage = injectIntl(({ intl }) => {
207211
<FormattedMessage id="password" defaultMessage="Password" />
208212
</Label>
209213
<Input
210-
type="text"
214+
type="password"
211215
id="password"
212216
data-test-id="password-input"
213217
name="password"

0 commit comments

Comments
 (0)