Skip to content

Commit f674f27

Browse files
Erwin Dondorperwindon
authored andcommitted
fixed typo in variable names
1 parent 2a5923c commit f674f27

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

saltgui/static/scripts/panels/Login.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,16 @@ export class LoginPanel extends Panel {
145145
trim().
146146
split(/\r?\n/).
147147
filter((item) => !item.startsWith("#"));
148-
const saltAauth = [];
148+
const saltAuth = [];
149149
for (const line of lines) {
150150
const fields = line.split(/[ \t]+/);
151151
if (fields.length === 1) {
152-
saltAauth.push(fields[0]);
152+
saltAuth.push(fields[0]);
153153
} else {
154154
console.warn("lines in 'salt-auth.txt' must have 1 word, not " + fields.length + " like in: " + line);
155155
}
156156
}
157-
Utils.setStorageItem("local", "salt-auth-txt", JSON.stringify(saltAauth));
157+
Utils.setStorageItem("local", "salt-auth-txt", JSON.stringify(saltAuth));
158158
this._updateEauthField();
159159
} else {
160160
Utils.setStorageItem("local", "salt-auth-txt", "[]");

0 commit comments

Comments
 (0)