We are using pin (z_passwd) for authentication in our environment. Now we have a requirement to force analyst to change their password every 90 days. We have write a htmpl page for resetting the password and it can be called manually by analyst from the menu bar. However we would like to automatically redirect analyst to this page once after they login the service desk. Is there any function that can redirect a user to a page automatically? I tried using window.location in the gobtn_role.htmpl but it doesn't work..
anyone has some ideas? in fact i have already built the password reset page. what i need to do is to redirect the analyst to that page after they are logged in
I'm sorry, but I can't think of a scenario where this could be done using the out of the box functionality. I assume some customization would need to be performed on the login page, but I'm not sure how the system would know if the z_passwd field had been updated in the last 90 days. Perhaps an additional customization can be introduced to write a timestamp to another custom field whenever the "z_passwd" field is updated, and then on the login.htmpl a check may be performed against the custom timestamp field to see if it's 90+ days, then perhaps it can present your custom page.
I haven't tested any of this, and maybe it's easier said then done. Perhaps CA Services can come up with a solution, if you're interested in going that route just let us know.
This is a great candidate for the idea wall
Please check out the responses from Alex and Jon and let us know how you plan to continue.
Of course, other Community members are welcome to continue this Discussion, especially around a direct customisation suggestion for the original query.
Without directly answering your original question, I do have some further things for you to think about:
Okay, so the last two points are just thought bubbles, and would need further work. But I'd talk to CA Services if you were interested in them and don't get a further response here.
Otherwise, and you may have your reasons for not doing it, I'd consider going via (1).
Please update this thread.
I'm flagging this post as "Assumed Answered", as no update from you for a while and there are several feedback posts on here.
Note you can change this status, and it is not the same as "Correct Answer" which only you should set.