Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Zweili e605c81911 Merge branch 'andreas' 2017-02-14 21:09:48 +01:00
Andreas Zweili d6abd48ac3 Add a UNIQUE constrait to the userMail and userLogin row
The userLogin and userMail have to be unique otherwise it's
possible to have multiple users with the same username which
is security whise a bit stupid.
I've extended the register function to return an appropriate
error message.
2017-02-14 21:06:51 +01:00
Andreas Zweili 6ae02f74c2 change mysql_error to mysqli_error
mysql_error is deprecated new mysqli_error should be used
2017-02-06 22:34:20 +01:00
Andreas Zweili 718398d824 move php functions into functions file 2017-02-06 21:55:36 +01:00
Andreas Zweili 613cc9bc3c move login.php to the bottom 2017-02-06 19:37:20 +01:00
Andreas Zweili 804d7ce98b restructuring 2017-02-05 22:11:00 +01:00