-
- Downloads
Users can accept terms during registration
When a user checks the `accept` checkbox, we will track that acceptance as usual. That way they don't need to accept again after they complete the registration. When an unauthenticated user visits the `/-/users/terms` page, there is no button to accept, decline or continue. The 'current-user menu' is also hidden from the top bar.
parent
ebdc7f11
No related branches found
No related tags found
Showing
- app/controllers/registrations_controller.rb 26 additions, 1 deletionapp/controllers/registrations_controller.rb
- app/controllers/users/terms_controller.rb 2 additions, 1 deletionapp/controllers/users/terms_controller.rb
- app/views/admin/application_settings/_terms.html.haml 3 additions, 3 deletionsapp/views/admin/application_settings/_terms.html.haml
- app/views/admin/application_settings/show.html.haml 2 additions, 2 deletionsapp/views/admin/application_settings/show.html.haml
- app/views/devise/shared/_signup_box.html.haml 7 additions, 0 deletionsapp/views/devise/shared/_signup_box.html.haml
- app/views/users/terms/index.html.haml 14 additions, 13 deletionsapp/views/users/terms/index.html.haml
- changelogs/unreleased/bvl-terms-on-registration.yml 5 additions, 0 deletionschangelogs/unreleased/bvl-terms-on-registration.yml
- doc/user/admin_area/settings/img/enforce_terms.png 0 additions, 0 deletionsdoc/user/admin_area/settings/img/enforce_terms.png
- doc/user/admin_area/settings/img/sign_up_terms.png 0 additions, 0 deletionsdoc/user/admin_area/settings/img/sign_up_terms.png
- doc/user/admin_area/settings/terms.md 13 additions, 0 deletionsdoc/user/admin_area/settings/terms.md
- locale/gitlab.pot 58 additions, 31 deletionslocale/gitlab.pot
- spec/controllers/registrations_controller_spec.rb 21 additions, 0 deletionsspec/controllers/registrations_controller_spec.rb
- spec/features/admin/admin_settings_spec.rb 1 addition, 1 deletionspec/features/admin/admin_settings_spec.rb
- spec/features/users/signup_spec.rb 17 additions, 4 deletionsspec/features/users/signup_spec.rb
- spec/features/users/terms_spec.rb 79 additions, 64 deletionsspec/features/users/terms_spec.rb

| W: | H:
| W: | H:


17.7 KiB