@theo-lge
- Member Since
- Jun 21, 2023
- Lessons Completed
- 3
- Comments Contributed
- 1
- Hours Watched
- 1.19
Recent Activity
Here's what @theo-lge has been up to this past year
-
Completed lesson AdonisJS 5 API & Nuxt 3 SSR Authentication in 15 Minutes
-
Completed lesson Let's Learn Adonis 5: Intro to Models
-
Completed lesson How To Create A Password Reset Flow in NodeJS with AdonisJS
-
Replied to Hi Tom,First of all great tutorial. We really appreciate your...
I've found a way to correct this bug
public static async expireTokens(user: User) { await user.related('passwordResetTokens').query().update({ expiresAt: DateTime.now() //REPLACE THIS TO expiresAt: DateTime.now().toFormat('yyyy-MM-dd HH:mm:ss') }) }
Copied! -
Account created Welcome to Adocasts, @theo-lge!