anonym wrote (08 Dec 2014 09:16:06 GMT) : > I guess what you want is that whenever one of the password fields > are modified we do something like:
> if len(auth_password) == 0 and len(test_password) == 0: > self.warning_area_pw_mismatch.hide() > self.warning_area_pw_match.hide() > elif auth_password == test_password: > self.warning_area_pw_mismatch.hide() > self.warning_area_pw_match.show() > elif auth_password != test_password: > self.warning_area_pw_mismatch.show() > self.warning_area_pw_match.hide() > Ok? ENOTIME to check this right now, but the example implementation I've been refering to lives in the update_passphrase_ui sub, in lib/Tails/Persistence/Step/Bootstrap.pm, in our persistence-setup repo. Cheers! -- intrigeri _______________________________________________ Tails-dev mailing list [email protected] https://mailman.boum.org/listinfo/tails-dev To unsubscribe from this list, send an empty email to [email protected].
