feat: Working login form with htmx.
This commit is contained in:
@@ -80,7 +80,7 @@ extension User {
|
||||
}
|
||||
|
||||
extension User: ModelAuthenticatable {
|
||||
static let usernameKey = \User.$email
|
||||
static let usernameKey = \User.$username
|
||||
static let passwordHashKey = \User.$passwordHash
|
||||
|
||||
func verify(password: String) throws -> Bool {
|
||||
|
||||
Reference in New Issue
Block a user