Adds a "Generate Password" button to register.js when registering
and editing a patron. The button is disabled if the org_unit is
using phone numbers as passwords.
The button calls ueMakeRandomPw(patron) to generate the password
and sets both password fields to have the value of the new password.
For those who want to use git to pull my git branch:
To add my remote using id "jason" (only needs to be done once):
git remote add jason git://git.mvlcstaff.org/jason/ILS
If you don't use jason as the identifier here all of the below commands referring to jason will need to be adjusted.
Here is a potential patch for this against trunk.
Adds a "Generate Password" button to register.js when registering
and editing a patron. The button is disabled if the org_unit is
using phone numbers as passwords.
The button calls ueMakeRandomPw( patron) to generate the password
and sets both password fields to have the value of the new password.
For those who want to use git to pull my git branch:
To add my remote using id "jason" (only needs to be done once):
git remote add jason git://git. mvlcstaff. org/jason/ ILS
If you don't use jason as the identifier here all of the below commands referring to jason will need to be adjusted.
Don't forget to fetch/update the remote:
git fetch jason
OR
git fetch --all
This branch will be jason/registerp atron
To check out the branch:
git checkout -b jason_registerp atron jason/registerp atron
To merge into your current branch (change branches first!):
git merge jason/registerp atron
To merge changes you made to your checked out version into the current branch (change branches first!):
git merge jason_registerp atron