Browse Source

Admin pass validation condition always failing. Adding hyphen to valid chars.

ota
Marcos Pérez Ferro 6 years ago
parent
commit
f77dd5f860
13 changed files with 17883 additions and 18019 deletions
  1. BIN
      code/espurna/data/index.all.html.gz
  2. BIN
      code/espurna/data/index.light.html.gz
  3. BIN
      code/espurna/data/index.rfbridge.html.gz
  4. BIN
      code/espurna/data/index.rfm69.html.gz
  5. BIN
      code/espurna/data/index.sensor.html.gz
  6. BIN
      code/espurna/data/index.small.html.gz
  7. +3113
    -3139
      code/espurna/static/index.all.html.gz.h
  8. +2973
    -2999
      code/espurna/static/index.light.html.gz.h
  9. +2578
    -2597
      code/espurna/static/index.rfbridge.html.gz.h
  10. +4055
    -4081
      code/espurna/static/index.rfm69.html.gz.h
  11. +2629
    -2649
      code/espurna/static/index.sensor.html.gz.h
  12. +2534
    -2553
      code/espurna/static/index.small.html.gz.h
  13. +1
    -1
      code/html/custom.js

BIN
code/espurna/data/index.all.html.gz View File


BIN
code/espurna/data/index.light.html.gz View File


BIN
code/espurna/data/index.rfbridge.html.gz View File


BIN
code/espurna/data/index.rfm69.html.gz View File


BIN
code/espurna/data/index.sensor.html.gz View File


BIN
code/espurna/data/index.small.html.gz View File


+ 3113
- 3139
code/espurna/static/index.all.html.gz.h
File diff suppressed because it is too large
View File


+ 2973
- 2999
code/espurna/static/index.light.html.gz.h
File diff suppressed because it is too large
View File


+ 2578
- 2597
code/espurna/static/index.rfbridge.html.gz.h
File diff suppressed because it is too large
View File


+ 4055
- 4081
code/espurna/static/index.rfm69.html.gz.h
File diff suppressed because it is too large
View File


+ 2629
- 2649
code/espurna/static/index.sensor.html.gz.h
File diff suppressed because it is too large
View File


+ 2534
- 2553
code/espurna/static/index.small.html.gz.h
File diff suppressed because it is too large
View File


+ 1
- 1
code/html/custom.js View File

@ -170,7 +170,7 @@ function validateFormPasswords(form) {
adminPass2 = passwords.last().val(); adminPass2 = passwords.last().val();
var formValidity = passwords.first()[0].checkValidity(); var formValidity = passwords.first()[0].checkValidity();
if (formValidity && (adminPass1.length === adminPass2.length === 0)) {
if (formValidity && (adminPass1.length === 0 && adminPass2.length === 0)) {
return true; return true;
} }


Loading…
Cancel
Save