Working on auth

This commit is contained in:
2021-09-14 18:18:19 +02:00
parent fa53293640
commit 51e92d7c02
11 changed files with 40 additions and 157 deletions

View File

@@ -14,7 +14,7 @@ export default class AuthValidator {
password: schema.string({ trim: true }, [
rules.required()
]),
remember_me: schema.boolean()
remember: schema.boolean.optional()
})
constructor (protected ctx: HttpContextContract) {