diff options
| author | Freya Murphy <freya@freyacat.org> | 2024-12-25 10:51:08 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2024-12-25 10:51:08 -0500 |
| commit | a5d7b7f9c2ed664ad75dc6244a0629919555e734 (patch) | |
| tree | c42d62fa4816434e0bf1358aaaa47311a0525236 | |
| parent | remove 'rem', make styles more scalable (diff) | |
| download | xssbook2-a5d7b7f9c2ed664ad75dc6244a0629919555e734.tar.gz xssbook2-a5d7b7f9c2ed664ad75dc6244a0629919555e734.tar.bz2 xssbook2-a5d7b7f9c2ed664ad75dc6244a0629919555e734.zip | |
fix auth model
| -rw-r--r-- | src/web/_model/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/_model/auth.php b/src/web/_model/auth.php index 50cb367..c975eb4 100644 --- a/src/web/_model/auth.php +++ b/src/web/_model/auth.php @@ -31,7 +31,7 @@ class Auth_model extends XSS_Model { ->eq($user_id) ->row(); // valid JWT, but invalid user - if (!$result) + if (!$user) return NULL; // return session self::$session = array_merge( |