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

    • 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 ...
    • 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 ...
    • Upgrading the Security Module: how to migrate from the old to the new

      Web application attacks are constantly evolving. With data being such a valuable asset, it is crucial to keep system security updated to avoid losses. The new security module, besides being extremely flexible and intuitive, implements several ...
    • 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 ...