Skip to content

Commit

Permalink
Merge pull request #91 from netcarver/master
Browse files Browse the repository at this point in the history
Update user.php
  • Loading branch information
shadowhand committed Sep 10, 2020
2 parents c9009ac + ba3d4fb commit f703364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user.php
Expand Up @@ -2,7 +2,7 @@

$provider = require __DIR__ . '/provider.php';

if (isset($_GET['logout']) && $_GET['logout'] = 1) {
if (isset($_GET['logout']) && 1 == $_GET['logout']) {
unset($_SESSION['token']);
}

Expand Down

0 comments on commit f703364

Please sign in to comment.