Announcement

Collapse
No announcement yet.

Enforce Password Change

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Enforce Password Change

    I have a client that would like the ability to select a user, click on a box that says "Must change password at next logon" so that when the user goes to log in the next time, it is mandatory for them to change their password. Has anyone done this before or could anyone point me in the right direction. I'm using the default security module.

    Thanks for any help you guys can give to me on this.

  • #2
    thats cool, would also like to know how to do this..

    Comment


    • #3
      First of all change the user table and add a field 'changepsw' char 1. Set this value to true (T) if it needs to be changed. In the onvalidate you check for the validity of user data. In the onvalidateok, you check for the changefield and sc_redir to an application where the user needs to change his password. After that you can reset the changepsw data back to 'F' (false) and sc_redir to your main application.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        Originally posted by aducom View Post
        First of all change the user table and add a field 'changepsw' char 1. Set this value to true (T) if it needs to be changed. In the onvalidate you check for the validity of user data. In the onvalidateok, you check for the changefield and sc_redir to an application where the user needs to change his password. After that you can reset the changepsw data back to 'F' (false) and sc_redir to your main application.
        Thanks for pointing me in the right direction Albert. After looking at those events and the code that is already there, this requires more custom coding than I know or have time to learn right now. Interested in making a few bucks?

        Comment


        • #5
          This is not the right spot for commercial questions as we are not part of Scriptcase organisation. Please refer to scriptcase.eu or post a private message with your email so we can get into contact with you.
          Albert Drent
          aducom software netherlands
          scriptcase partner, reseller, support and (turn-key) development
          www.scriptcase.eu / www.scriptcase.nl

          Comment

          Working...
          X