Fix error returned from login plugins
authorSimo Sorce <simo@redhat.com>
Tue, 17 Mar 2015 23:01:59 +0000 (19:01 -0400)
committerSimo Sorce <simo@redhat.com>
Wed, 18 Mar 2015 00:37:19 +0000 (20:37 -0400)
Some login plugins use form based authentication and let the user retry
on authentication errors. This is fine, however the wrong error code is
returned in this case, 401 should be returned.

Fixes: https://fedorahosted.org/ipsilon/ticket/94

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Nathan Kinder <nkinder@redhat.com>

No differences found