Fix login with email in AccountLogin.react.js (#2574)
Fix login with email in AccountLogin.react.js (#2574)

If the email is correct, then the `else if` would always be false.
Fix it by nesting the email check _only_ if a `@` is detected.

[Fixes #2571]

Signed-off-by: Nicolas Brugneaux <32ed6d9095771a774ff1bb6c69e547498ee75d82@gmail.com>
docker/kitematic,kitematic/kitematic,kitematic/kitematic,kitematic/kitematic,docker/kitematic,docker/kitematic,docker/kitematic