diff --git a/assets/js/app.js b/assets/js/app.js index 8d4448c6..0d113850 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -21,6 +21,7 @@ import 'datatables.net-buttons-bs4/css/buttons.bootstrap4.css' import 'datatables.net-fixedheader-bs4/css/fixedHeader.bootstrap4.css' import 'datatables.net-select-bs4/css/select.bootstrap4.css' import 'bootstrap-select/dist/css/bootstrap-select.css' +import 'awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css' //require( 'jszip' ); //#require( 'pdfmake' ); diff --git a/config/packages/security.yaml b/config/packages/security.yaml index e7bdf841..2e9a7fed 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -33,6 +33,10 @@ security: path: logout target: homepage + remember_me: + secret: '%kernel.secret%' + lifetime: 2592000 # 30 days in seconds + # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used access_control: diff --git a/package.json b/package.json index 16148b9d..9ca6d16b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "dependencies": { "@ckeditor/ckeditor5-build-classic": "^12.0.0", + "awesome-bootstrap-checkbox": "^1.0.1", "bootstrap-select": "1.13.5", "datatables.net-bs4": "^1.10.19", "datatables.net-buttons-bs4": "^1.5.4", diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index db0ccb25..696fb0b2 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -43,6 +43,17 @@
+
+
+ + +
+
+
+ +
diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index 82ca3d42..cc2ae456 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -559,5 +559,11 @@ Login + + + login.rememberme + Eingeloggt bleiben (nicht empfohlen auf geteilten Computern) + + diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 145ca0cf..5a82c489 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -517,5 +517,11 @@ Login + + + login.rememberme + Remember me (should not be used on shared computers) + + diff --git a/yarn.lock b/yarn.lock index 8f2384b8..da1963b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1073,6 +1073,11 @@ atob@^2.1.1: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== +awesome-bootstrap-checkbox@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/awesome-bootstrap-checkbox/-/awesome-bootstrap-checkbox-1.0.1.tgz#dab10146b6001129ab0a0ec1e54bb77c6c30457a" + integrity sha1-2rEBRrYAESmrCg7B5Uu3fGwwRXo= + babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"