Built out logout procedure.

This commit is contained in:
Josh Sherman 2013-12-16 18:24:39 -05:00
parent 29987e8640
commit 74257193f1
4 changed files with 60 additions and 5 deletions

View file

@ -38,7 +38,7 @@ class user_create extends AnonymousModule
$uid = $user->nextUID();
// Generates the auth token
$auth_token = sha1(mt_rand() . microtime());
$auth_token = $user->generateToken();
// Writes the user data
$user->set($uid, array(