projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ce936
)
Fix for if session has expired and user is still in login area
author
Roland Häder
<roland@mxchange.org>
Wed, 29 Jul 2009 19:47:45 +0000
(19:47 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 29 Jul 2009 19:47:45 +0000
(19:47 +0000)
inc/modules/login.php
patch
|
blob
|
history
diff --git
a/inc/modules/login.php
b/inc/modules/login.php
index 40327c98b7954698ddb3b75fad11ab03034d97af..06c4ffb97b7eef26451804c53eada28a86c7020b 100644
(file)
--- a/
inc/modules/login.php
+++ b/
inc/modules/login.php
@@
-42,7
+42,7
@@
if (!defined('__SECURITY')) {
require($INC);
} elseif (!IS_MEMBER()) {
$URL = 'modules.php?module=index';
- if (
$check
== 'mem_only') $URL .= '&msg='.getCode('MODULE_MEM_ONLY') . '&mod='.getModule();
+ if (
checkModulePermissions('login')
== 'mem_only') $URL .= '&msg='.getCode('MODULE_MEM_ONLY') . '&mod='.getModule();
redirectToUrl($URL);
}