Fixes https://github.com/vector-im/riot-web/issues/4311 The cancel button onClick was hooked directly up to onFinished, so the mouse event ended up as the boolean for whether an email had been set.
Fixes https://github.com/vector-im/riot-web/issues/4311 The cancel button onClick was hooked directly up to onFinished, so the mouse event ended up as the boolean for whether an email had been set.