X-Git-Url: https://git-public.kairo.at/?p=authserver.git;a=blobdiff_plain;f=app%2Fauthsystem.inc.php;h=7f3b783c07a6a9a900cc9fb6925d7351a5d6cd0c;hp=0cf7db2c41ab0d90a79e865f1b750d16e606fa23;hb=3875e0fb8b2b31d82809bd20880f1d206db4cb2c;hpb=7165d4fd908dc7b40270731fa9f099a3f6fda6e1 diff --git a/app/authsystem.inc.php b/app/authsystem.inc.php index 0cf7db2..7f3b783 100644 --- a/app/authsystem.inc.php +++ b/app/authsystem.inc.php @@ -3,13 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* - Some resources for how to store passwords: - - https://blog.mozilla.org/webdev/2012/06/08/lets-talk-about-password-storage/ - - https://wiki.mozilla.org/WebAppSec/Secure_Coding_Guidelines - oauth-server-php: https://bshaffer.github.io/oauth2-server-php-docs/cookbook -*/ - // error reporting (for testing) ini_set('display_errors', 1); error_reporting(E_ALL); @@ -35,12 +28,6 @@ catch (Exception $e) { $utils->setUpL10n(); -// Sanitize settings. -$settings['piwik_enabled'] = (@$settings['piwik_enabled']) ? true : false; -$settings['piwik_site_id'] = intval(@$settings['piwik_site_id']); -$settings['piwik_url'] = strlen(@$settings['piwik_url']) ? $settings['piwik_url'] : '/piwik/'; -$settings['piwik_tracker_path'] = strlen(@$settings['piwik_tracker_path']) ? $settings['piwik_tracker_path'] : '../vendor/piwik/piwik-php-tracker/'; - // Set up our OAuth2 Server object $server = $utils->getOAuthServer(); ?>