2,299
edits
Changes
no edit summary
The following [[JavaScript]] can be added to the login page for further customization.
===Forgot Password=== : '''HTML: '''Forgot your password? Please click <a href="javascript:passwdwin()">here</a>.
: '''JavaScript: '''
<pre>function passwdwin(){
This functionality can be used when a user exists in the system multiple times with the same email address, but against different branches (organizations). The configuration means that only the password for the user account ''under a specific branch ''will be updated.
: '''HTML: '''Forgot your password? Please click <a class="Login" href="javascript:passwdwin(12345)">here</a>.
* Where ''12345 ''is the [[Companyid]].
: '''JavaScript: '''
<pre> function passwdwin(branch) {
window.open('/s_requestpassword.jsp?branchid='+branch,'pwdin','left=200,top=200,toolbar=0,width=300,height=214,directories=no,