elimination of password-bug

This commit is contained in:
Delucse 2020-09-04 15:15:22 +02:00
parent 1586e74cdc
commit 0e18c0bd23

View File

@ -43,8 +43,10 @@ export const tutorials = [
return {text: 'Die SSID-Angabe fehlt.', type: 'error'}
}
var password = wifiBlock.getFieldValue('Password')
if(password !== 'Passwort'){
return {text: 'Password muss als Angabe "Passwort" haben.', type: 'error'}
if(password){
if(password !== 'Passwort'){
return {text: 'Password muss als Angabe "Passwort" haben.', type: 'error'}
}
}
else{
return {text: 'Die Angabe des Passworts fehlt.', type: 'error'}