UnionOfRAD/lithium — pull request #655 by d1rk (2012-09-24 19:35:10+00:00)
Title: allow auth adapters to return a single value instead of arrays

Change behavior of auth adapters so, that they can return scalar values.

Currently, auth adapters must return arrays, because of a hard-coded unset on `$data['password']`.

This PR changed the behavior so, that an auth adapter can return a scalar value without being presented with a

Fatal error: Cannot unset string offsets in /libraries/lithium/security/Auth.php on line 160

An updated unit-test is included.

follow up to #651