Subject | Hash | Author | Date (UTC) |
---|---|---|---|
If session expires and the user presses logout, do not give errors | 5871b5cd6efae48655000b980f641b39ccc4a146 | Catalin(ux) M. BOIE | 2016-12-07 20:11:31 |
No need for AllowOverride All | 4b0cf4ec9663f0aa3cf4f8d55dfb4f7f3fd8614d | Catalin(ux) M. BOIE | 2016-11-20 08:17:15 |
Use getmyuid instead of posix_getuid to not depend on another extention | f6d6dcce4d565281e3d47079974b6d6a91a36ae4 | Catalin(ux) M. BOIE | 2016-11-20 07:15:04 |
CSS adjustments | 264821ffdde5ad2d9c196844ecd13fd689b7e353 | Catalin(ux) M. BOIE | 2016-11-19 14:13:02 |
Some rewording in Donate page | 58626a058176945e165ab0230bd1093e025a07ac | Catalin(ux) M. BOIE | 2016-11-19 14:08:20 |
Bump version to 0.64 | b414b4d454c2f37010d213cd23662f01b7fb3951 | Catalin(ux) M. BOIE | 2016-11-19 13:25:15 |
Do not set ServerName if it unknown; else will not match | 1b58474438fff06932d666f04f75581bfea7361b | Catalin(ux) M. BOIE | 2016-11-19 13:24:23 |
The build process nedds php | 681151c53be2922e9f2cedc20be5add1587e013d | Catalin(ux) M. BOIE | 2016-11-17 22:37:46 |
Bump version to 0.63 | cefea42530ef6ed4ddf8d2f36020b8e2d5dbf467 | Catalin(ux) M. BOIE | 2016-11-17 18:39:51 |
TODO updates | b11fde8c1548fe9b0968b4193ace5418516ef043 | Catalin(ux) M. BOIE | 2016-11-17 18:39:08 |
Do not show "My repositories" and "Suggestion" menus if admin | c2338a8b03a77618e7de86ebcc2ce80b4d4b5268 | Catalin(ux) M. BOIE | 2016-11-17 17:29:46 |
Update comparison | 5fc0290369207bcb063f5fad355a90e31b93c975 | Catalin(ux) M. BOIE | 2016-11-16 21:49:18 |
Added GNU Ethical Repository Criteria Evaluations results in compare.csv | e3cff3f25926df5d9860b95a82c928d527cb01eb | Catalin(ux) M. BOIE | 2016-11-15 20:59:41 |
Changed "FLOS" to "free (as in speech)" to reflect the reality. | 39d07466ab3f0c5dc10a9e950004e6ace285f377 | Catalin(ux) M. BOIE | 2016-11-15 20:57:25 |
Disable weak keys if admin says so. | 0afb8c5c5885ef504a28d02b07d040fd2c92c79a | Catalin(ux) M. BOIE | 2016-11-15 20:50:54 |
TODO changes | f25bd7cf263f651870d880d0bb745a4cc07450cb | Catalin(ux) M. BOIE | 2016-11-11 20:58:12 |
Add a link to the comparison on the front page | f854fce154ad713938959cd0d128f50d27711aa3 | Catalin(ux) M. BOIE | 2016-11-11 20:55:09 |
More tweaking to compare.csv | bfb8e784f829a679b2a218b5bff2eb362c1d26f0 | Catalin(ux) M. BOIE | 2016-11-11 20:54:11 |
Added tutorial for OpenSSH key settings; also template improvements | 4828eb810a73e3b4f692746ee6ef998a5a833317 | Catalin(ux) M. BOIE | 2016-11-11 20:46:09 |
Functional test for Admin -> Settings -> SSH | aa0f87c101fa0ca39559992b3ef5e415920e8d0d | Catalin(ux) M. BOIE | 2016-11-11 17:34:27 |
File | Lines added | Lines deleted |
---|---|---|
inc/dispatch/dispatch.php | 6 | 0 |
File inc/dispatch/dispatch.php changed (mode: 100644) (index 868d9e3..514cd17) | |||
... | ... | case 'logout': | |
15 | 15 | if (!rg_valid_referer()) | if (!rg_valid_referer()) |
16 | 16 | rg_log("Invalid referer"); | rg_log("Invalid referer"); |
17 | 17 | ||
18 | // Session expired | ||
19 | if ($rg['login_ui']['uid'] == 0) { | ||
20 | $body .= rg_template("user/logout.html", $rg, TRUE /*xss*/); | ||
21 | break; | ||
22 | } | ||
23 | |||
18 | 24 | if (!rg_token_valid($db, $rg, 'logout', TRUE)) | if (!rg_token_valid($db, $rg, 'logout', TRUE)) |
19 | 25 | break; | break; |
20 | 26 |