Comment 0 for bug 1638665

Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Story: on first boot, file ~/.snap/auth.json is empty and once you do "snap login" it shows correctly the username:email information, however users could run snap login repeatedly with the same account(or other accounts).

Environment:
ubuntu-core-16-amd64.img

Steps to reproduce:

1º Boot core on kvm/qemu
2º Complete console-conf
3º ssh username@localhost
4º Do "snap login <email>"
5º Once you're logged in, do "snap login <email>" again

Current result: user can login twice or more times with the same account
Expected result: a message could tell the user he's already logged in