Commit Graph

2 Commits

Author SHA1 Message Date
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 f12649cfc2 add sql files to create DB 2017-02-03 17:37:36 +01:00