forked from wallabag/wallabag
add test for empty salt
This commit is contained in:
@ -33,7 +33,7 @@ class WallabagRestController extends Controller
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
||||
return array($user->getSalt());
|
||||
return array($user->getSalt() ?: null);
|
||||
}
|
||||
/**
|
||||
* Retrieve all entries. It could be filtered by many options.
|
||||
|
||||
Reference in New Issue
Block a user