Go to file
Simon Erkelens f862ce71d5 Pass the AuthenticationMethod to the controller
Resolves issue #6788
The AuthenticationMethed is passed in via hidden field as per usual, but due to changes, the fallback authenticator was always the MemberAuthenticator and the actual passed in authenticator was defaulting to an empty string.
This causes an issue when there are multiple authenticators and the default authenticator is _not_ in the allowed authenticators, but is still the default. It caused the getAuthenticator method to return the default MemberAuthenticator to be returned, despite it being disabled.
A second issue around multiple authenticators, was the template using a no-longer used method `getAuthenticatorName`. This method returned a null on the default MemberLoginForm (as nothing was set), causing a Warning.
Because the getAuthenticator and getAuthenticatorName are no longer in
use, I've opted to replace these with a translatable string
`getAuthenticatorName`, to
display the title of the form on the tabs, as per the tabset on
Security_MultiAuthenticatorLogin template.
2017-04-18 16:58:15 +12:00
_config Improve the default LoginForm 2017-04-16 19:05:29 +12:00
.tx Remove legacy admin localisations from framework 2017-04-05 16:20:09 +12:00
client Update translations 2017-04-05 16:08:16 +12:00
docs Merge pull request #6791 from caffeineinc/master 2017-04-18 11:24:25 +12:00
lang Update translations 2017-04-05 16:08:16 +12:00
src Pass the AuthenticationMethod to the controller 2017-04-18 16:58:15 +12:00
templates Merge pull request #6799 from open-sausages/pulls/4.0/6323_modal_close 2017-04-18 10:01:29 +12:00
tests API Major refactor of Hierarchy into MarkedSet 2017-04-13 16:27:13 +12:00
thirdparty Remove Zend_Translate_RailsYAML 2017-02-26 13:08:03 +13:00
_config.php Simplify config for admin removal 2017-03-14 10:22:45 +13:00
_register_database.php Setting default db adapter in installation as PDO MySQL with MySQLi as fail safe. 2016-11-02 19:51:13 +13:00
.codecov.yml Turn off codecov commenting on PRs 2016-10-12 16:31:22 +01:00
.editorconfig API Include psr-2 checks in CI 2016-11-29 13:00:58 +13:00
.gitattributes Moved frontend code from dist/ to src/ 2017-03-15 11:07:17 +13:00
.gitignore NEW: Don’t set up SilverStripe project for test run 2016-09-16 16:16:44 +12:00
.htaccess TinyMCE 4 optimisations. Use TinyMCE_Compressor. 2016-04-04 07:58:45 +12:00
.scrutinizer.yml Added better Scrutinizer support 2015-05-12 23:27:36 +12:00
.travis.yml API Enable namespaced-localisation keys in templates 2017-04-11 18:07:53 +12:00
.upgrade.yml API Refactor CMS-specific code out of LeftAndMain 2017-04-06 13:26:32 +12:00
cli-script.php Added check for register_argc_argv 2017-02-26 20:01:18 +10:00
composer.json API Enable namespaced-localisation keys in templates 2017-04-11 18:07:53 +12:00
CONTRIBUTING.md Add copyright note to contributing.md 2016-05-30 14:32:19 +12:00
LICENSE FIX: Add separate license file to match module standard. 2017-03-29 12:49:43 +13:00
main.css FIX stringify api call body to work for IE10 (#6032) 2016-09-21 14:45:30 +12:00
main.php API Substitute core config system with new silverstripe/config module 2017-02-27 16:54:01 +13:00
main.php5 MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
phpunit.xml.dist Update test configuration 2017-04-05 10:15:48 +12:00
README.md FIX: Add separate license file to match module standard. 2017-03-29 12:49:43 +13:00
sake Install sake into /usr/local/bin. /usr is now protected on OSX 2016-01-22 18:48:58 +00:00
silverstripe_version API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:21 +01:00
web.config Improve IIS security 2015-05-11 12:01:30 +12:00

SilverStripe Framework

Build Status Latest Stable Version Latest Unstable Version codecov Total Downloads License Dependency Status Reference Status helpfulrobot

PHP5 framework forming the base for the SilverStripe CMS (http://silverstripe.org). Requires a silverstripe-installer base project. Typically used alongside the cms module.

Installation

See installation on different platforms, and installation from source.

Bugtracker

Bugs are tracked on github.com. Please read our issue reporting guidelines.

Development and Contribution

If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.