cockpit-project/cockpit — pull request #959 by porscheyin (2014-07-31 21:07:45+00:00)
Title: shell: Fix improper reaction when login with empty user name

Fix backend to return authentication failed if user is empty.
Fix frontend to avoid empty user name.
Some refactoring.

Fixes #940