Skip to content
Snippets Groups Projects
Commit cc49628c authored by Aditya's avatar Aditya
Browse files

Update UserSession.class.php

parent a4797f9e
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ class UserSession
VALUES ('$user->id', '$token', now(), '$ip', '$agent', '1', '$fingerprint')";
if ($conn->query($sql)) {
Session::set('session_token', $token);
Session::set('fingerprint');
Session::set('fingerprint', $fingerprint);
return $token;
} else {
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment