File tree Expand file tree Collapse file tree
saltgui/static/scripts/panels Expand file tree Collapse file tree Original file line number Diff line number Diff 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" , "[]" ) ;
You can’t perform that action at this time.
0 commit comments