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:
- if(isset([act_code]) && !empty([act_code]))
- {
- sc_field_display({old_pswd}, 'off');
- sc_field_no_validate({old_pswd});
- sc_btn_display("exit","off")
- }
- else
- {
- sc_field_display({old_pswd}, 'on');
- sc_btn_display("exit","on");
- }
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.
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 ...
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 ...
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 ...
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 ...
Hide/Show "Retrieve Password" field on login screen with HTML template
In this article, we will learn how to enable the "Hide/Show" feature that is available within the "Security -> Settings" option, for the "Retrieve Password" field that is found on the login screen that was generated with HTML template. Currently, ...