We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82df00 commit 13fbbabCopy full SHA for 13fbbab
simplesamlphp_auth.module
@@ -48,7 +48,7 @@ function simplesamlphp_auth_menu() {
48
'title' => 'Logon to the site',
49
'description' => 'Provides a site login page',
50
'page callback' => 'simplesamlphp_auth_loginpage',
51
- 'access callback' => TRUE,
+ 'access callback' => '_simplesamlphp_auth_isEnabled',
52
'file' => 'simplesamlphp_auth.pages.inc',
53
'type' => MENU_CALLBACK,
54
);
@@ -370,6 +370,9 @@ function _simplesamlphp_auth_isEnabled($bShowInactiveMsg = FALSE) {
370
}
371
372
373
+ else {
374
+ $failure = t('SimpleSAMLphp auth is not yet activated.');
375
+ }
376
377
// If there were no failures, then it should be activated.
378
if (!$failure) {
0 commit comments