You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Lars Vierbergen 8e75482649 Add readme 7 years ago
Controller Move tos form to a separate form type, add a request interceptor to redirect to accept TOS when they have not accepted the latest version 7 years ago
DependencyInjection Initial commit 7 years ago
Entity Initial commit 7 years ago
EventListener Move tos form to a separate form type, add a request interceptor to redirect to accept TOS when they have not accepted the latest version 7 years ago
Form Move tos form to a separate form type, add a request interceptor to redirect to accept TOS when they have not accepted the latest version 7 years ago
Resources Move tos form to a separate form type, add a request interceptor to redirect to accept TOS when they have not accepted the latest version 7 years ago
.gitignore Initial commit 7 years ago
AuthserverTosBundle.php Initial commit 7 years ago
LICENSE.md Initial commit 7 years ago
README.md Add readme 7 years ago
composer.json Initial commit 7 years ago
composer.lock Initial commit 7 years ago

README.md

Authserver: Terms of Service plugin

This Authserver plugin that requires users to accept some terms of service before they can use their account.

Installation

./plugin.sh install vierbergenlars/authserver-tos-bundle

For more details, see the Authserver plugin documentation.

Configuration

You can configure the bundle in the authserver app/config/parameters.yml file.

Set tos.url to a link to your terms of service. Set tos.version to the version of your terms of service. This number should be increased every time the terms of service change, so users get prompted to accept the new terms. The version of the latest accepted version is stored per user. If the stored number is lower than the configured version, the user is prompted.