Merge pull request #2 from OldShatterhand77/patch-1
Makes it possible to enter either the username directly OR the complete Mail-Address. Makes it easier users to enter the correct Data!
|5 years ago|
|LICENSE||5 years ago|
|README.md||5 years ago|
|changepw.html||5 years ago|
|changepw.py||5 years ago|
changepw.html: Simple HTML form. Put it into your ~/html for example. Change XXXUSERXXX and XXXHOSTXXX according to your uberspace user and host name.
changepw.py: Put it into your ~/cgi-bin and give all users executable rights (
chmod a+x ~/cgi-bin/changepw.py).
Python script will check if user exists, if new password and repeated new password match and also if old password is correct.
Dependencies of Python script: python-cdb
Install on your uberspace with
This script probably could be extended to allow each IP only 5 password changes per day to avoid misuse.