mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-10 18:51:02 +00:00
add test for empty salt
This commit is contained in:
parent
874e3e10a4
commit
f170f31594
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue