From 86a4fd69d53b61a624dfc332c7a0e70b9a79218a Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Thu, 16 Jan 2014 04:25:51 +0100 Subject: Implement smf2_session and finish RPC code. (#1) This patch should be ready for testing with SMF. (cburschka/cadence/#31) --- plugins/session/main.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/session/main.php (limited to 'plugins/session/main.php') diff --git a/plugins/session/main.php b/plugins/session/main.php new file mode 100644 index 0000000..814bfc5 --- /dev/null +++ b/plugins/session/main.php @@ -0,0 +1,21 @@ + $username, 'secret' => sha1($salt . time() . mt_rand()), 'time' => time()]; + $bridge->create($entry); + return $entry; + } + return FALSE; +} -- cgit v1.1