Correção para recuperar senha do módulo de segurança do Scriptcase

Security module password recovery error

To fix the error during the security module password recovery process, you need to follow the steps below:

Only available when using the option to email the change new password link.

1- Access the application app_change_pswd

By default, when generating the module, all applications are inside the security folder and with the prefix app_, searching the list of applications for the name: app_change_pswd, it should be possible to access it.

It is necessary to check if the prefix used to create the module was "app_", if it was another one, look only for the name change_pswd 

2- Access the onLoad event

With the application open inside Scriptcase, access the onLoad option inside the "Events" folder, as shown in the following image:


3- Change the code

Change the current code to the following:
  1. if(isset([act_code]) && !empty([act_code]))
  2. {
  3. sc_field_display({old_pswd}, 'off');
  4. sc_field_no_validate({old_pswd});
  5. sc_btn_display("exit","off")
  6. }
  7. else
  8. {
  9. sc_field_display({old_pswd}, 'on');
  10. sc_btn_display("exit","on");
  11. }

4- Generate the application


After replacing the code, you must generate the source of the application, so that it can be used normally in the correct way.

If you have any questions, please contact our support.



    • Related Articles

    • Security Module Two-Factor Authentication - Google Authenticator

      Google Authenticator generates 2-step verification codes on your smartphone. Two-Step Verification provides greater security for your account as it requires a second verification step at login. In addition to the password, you will need a code ...
    • Setting password recovery in Scriptcase

      To configure the password recovery, it's necessary to do some steps so that works correctly. To the recovery happens, will be necessary that you have and configure a SMTP server. After login, you'll access the menu Options > Settings >  System ...
    • Retrieve password

      An inconsistency was observed when trying to reset the password using the "app_retrieve_pswd" application. The correction was made for new modules, created from release 9.10.001. For modules created in previous releases that use this option, we must ...
    • Update of the security module synchronization application

      In order to improve security in our projects, we made several changes to the application files. One of these changes affected a crucial file that tells applications how to sync. To ensure that the synchronization continues to work correctly, we made ...
    • Connection error: error_profile_test_module

      When we deploy a project and we find this type of error: "Connection error: error_profile_test_module" This error normally occurs when you use a different production environment DBMS Type than the development environment. To solve this, access your ...