`maas login` tells you you're logged in successfully when you're not
Bug #1319854 reported by
Graham Binns
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Newell Jensen |
Bug Description
Passing nonsense credentials to `maas login` gives you a "success" message:
graham@dorfl: maas$ maas login foobar http://
You are now logged in to the MAAS server at http://
master.
For help with the available commands, try:
maas foobar --help
graham@dorfl: maas$ maas foobar node-groups list
Invalid consumer.
Related branches
lp:~newell-jensen/maas/bogus-apikey
- Julian Edwards (community): Approve
-
Diff: 224 lines (+117/-11)4 files modifiedsrc/maascli/auth.py (+36/-0)
src/maascli/cli.py (+15/-1)
src/maascli/tests/test_auth.py (+51/-10)
src/maascli/tests/test_cli.py (+15/-0)
tags: | added: papercut |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.