api: auth: fix nil deref

By pulling in the fixes from c/common.  Add regression tests to make
sure it's not happening another time.  The error messages are not
ideal and should probably be optimized in the `/auth` endpoints directly
but it's already an improvement over a nil deref.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2023-04-11 09:56:29 +02:00
parent 0a588e7f31
commit b4cfc727be
6 changed files with 22 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
package version
// Version is the version of the build.
const Version = "0.52.0"
const Version = "0.53.0-dev"