Merge lp:~nataliabidart/ubuntu-sso-client/verify-works-when-login-only into lp:ubuntu-sso-client/stable-1-0
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 639 |
Merged at revision: | 639 |
Proposed branch: | lp:~nataliabidart/ubuntu-sso-client/verify-works-when-login-only |
Merge into: | lp:ubuntu-sso-client/stable-1-0 |
Diff against target: |
69 lines (+27/-2) 2 files modified
ubuntu_sso/gui.py (+1/-1) ubuntu_sso/tests/test_gui.py (+26/-1) |
To merge this branch: | bzr merge lp:~nataliabidart/ubuntu-sso-client/verify-works-when-login-only |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Lenton (community) | Approve | ||
Alejandro J. Cura (community) | Approve | ||
Review via email: mp+39996@code.launchpad.net |
Commit message
The verify email page should be always built, not only on registration.
Description of the change
To test, run the dbus daemon from this branch with:
killall ubuntu-sso-login; DEBUG=True PYTHONPATH=. ./bin/ubuntu-
Be sure to have a non-validated SSO user. If you don't have one, first register a new user but do not enter the verification code (just close the SSO window when prompted for email token). After doing this, be sure to kill the dbus daemon and restart it.
Then, execute the 'login_
'Any app name', '', 0
Try to login with the non validated email address. You should get the email verification screen. If you weren't running this branch, you'd get an exception like this one:
if current_
exceptions.
Nice!