esaude / mental-health

Apache License 2.0
1 stars 1 forks source link

after login times out, submit on form (edit) doesnt ask for login credentials #28

Closed kml27 closed 6 years ago

kml27 commented 6 years ago

at least on form edit, may just need to have onsubmit set to "submitHtmlForm();"

kml27 commented 6 years ago

setting /usr/local/tomcat/conf/web.xml

30 seemed to work to shorten the timeout for testing
kml27 commented 6 years ago

a yellow popup should popup if the session timed out to supply credentials

add onclick="submitHtmlForm()" attribute to input type="submit" here in initial.xml https://github.com/esaude/mental-health/blob/f1a9d2f2eea40f884ef41f8e8201273219662cdb/omod/src/main/webapp/resources/htmlforms/initial.xml#L1088

and replace this line with the same submit input in follow_up.xml https://github.com/esaude/mental-health/blob/f1a9d2f2eea40f884ef41f8e8201273219662cdb/omod/src/main/webapp/resources/htmlforms/follow_up.xml#L698

kml27 commented 6 years ago

I believe it starts counting since last server request (i.e. clicking edit link)...

image

jsibley commented 6 years ago

Working now.