mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
mlanthaler: Changed the login messages to reflect the fact that more authentication methods are available.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41793 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
19e222b5c2
commit
74214051b8
@ -36,7 +36,7 @@ abstract class LeftAndMain extends Controller {
|
||||
// Access failure!
|
||||
if(!$isAllowed) {
|
||||
$messageSet = array(
|
||||
'default' => "Enter your email address and password to access the CMS.",
|
||||
'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
|
||||
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
|
||||
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
|
||||
);
|
||||
|
@ -13,7 +13,7 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
/*
|
||||
if(!$this->can('AdminCMS')) {
|
||||
$messageSet = array(
|
||||
'default' => "Enter your email address and password to access the CMS.",
|
||||
'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
|
||||
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
|
||||
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
|
||||
);
|
||||
|
@ -10,7 +10,7 @@ class StaticExporter extends Controller {
|
||||
parent::init();
|
||||
if(!$this->can('AdminCMS')) {
|
||||
$messageSet = array(
|
||||
'default' => "Enter your email address and password to access the CMS.",
|
||||
'default' => "Please choose an authentication method and enter your credentials to access the CMS.",
|
||||
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
|
||||
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user