Content
View differences
Updated by Alexander Coles 7 months ago
### Steps to reproduce
1. Login as a user with permissions to administer OpenProject.
2. Go Admin > Authentication > Login and registration.
### What is the buggy behavior?
* The "**Session expiry time after inactivity**" field is always shown.
### What is the expected behavior?
1. The "**Session expiry time after inactivity**" field should only be shown if "**Session expires" is checked.**
### Important note
The expected behavior is inferred by there still being (broken) code in place to toggle the display of the "Session expires" number field.
`frontend/src/app/core/setup/globals/global-listeners/settings.ts`
### Screenshots and other files
Actual behavior:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804800/content">
Expected behavior:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804801/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/805764/content">
N.B. whether or not we adopt the Primer default behavior of indenting "nested fields" is a topic for discussion here: ##68696 src="/api/v3/attachments/804802/content">
<br>
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* Hosted cloud edition
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_en\_GB_
1. Login as a user with permissions to administer OpenProject.
2. Go Admin > Authentication > Login and registration.
### What is the buggy behavior?
* The "**Session expiry time after inactivity**" field is always shown.
### What is the expected behavior?
1. The "**Session expiry time after inactivity**" field should only be shown if "**Session expires" is checked.**
### Important note
The expected behavior is inferred by there still being (broken) code in place to toggle the display of the "Session expires" number field.
`frontend/src/app/core/setup/globals/global-listeners/settings.ts`
### Screenshots and other files
Actual behavior:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804800/content">
Expected behavior:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804801/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/805764/content">
N.B. whether or not we adopt the Primer default behavior of indenting "nested fields" is a topic for discussion here: ##68696
<br>
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* Hosted cloud edition
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_en\_GB_