feature #9: Add routes for login

This commit is contained in:
2019-08-22 23:23:25 +02:00
parent 4e9f737e00
commit 5542eede27
9 changed files with 115 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package fr.dcproject.entity
import fr.postgresjson.entity.*
import io.ktor.auth.Principal
import org.joda.time.DateTime
import java.util.*
@@ -11,4 +12,5 @@ class User(
var plainPassword: String?
) : UuidEntity(id),
EntityCreatedAt by EntityCreatedAtImp(),
EntityUpdatedAt by EntityUpdatedAtImp()
EntityUpdatedAt by EntityUpdatedAtImp(),
Principal