Api-Key now gets verified and can be saved/changed

This commit is contained in:
Stefan Dresselhaus
2015-07-20 22:10:30 +02:00
parent a53f7aaac4
commit a707e64cce
14 changed files with 219 additions and 115 deletions

View File

@ -1,7 +1,11 @@
User
ident Text
name Text
charId Int64
password Text Maybe
lastLogin UTCTime default=now()
lastLogin UTCTime
tokenExpires UTCTime
accessToken Text
UniqueUser ident
deriving Typeable
@ -15,6 +19,7 @@ Api
user User
keyID Int64
vCode Text
UniqueApiUser user
Character
auth Api

View File

@ -6,4 +6,5 @@
/ HomeR GET POST
/wallet WalletR GET
/register RegisterR GET POST
-- /register RegisterR GET POST
/settings SettingsR GET POST