1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:55:55 +00:00

remove unnecessary wrapping from share uniqid() keys

This commit is contained in:
Andrew Dolgov
2013-12-24 13:27:57 +04:00
parent d31d521f79
commit 76d78eb2e7
4 changed files with 9 additions and 9 deletions

View File

@@ -407,7 +407,7 @@ class Instances extends Plugin implements IHandler {
print "<hr/>";
$access_key = sha1(uniqid(rand(), true));
$access_key = uniqid();
/* Access key */
@@ -439,7 +439,7 @@ class Instances extends Plugin implements IHandler {
}
function genHash() {
$hash = sha1(uniqid(rand(), true));
$hash = uniqid();
print json_encode(array("hash" => $hash));
}