@mykl
- Member Since
- Jul 17, 2024
- Lessons Completed
- 45
- Comments Contributed
- 2
- Hours Watched
- 6.94
Recent Activity
Here's what @mykl has been up to this past year
-
Completed lesson The Confirm Delete Dialog & Deleting the Active Organization
-
Completed lesson Editing the Active Organization
-
Completed lesson Creating A UseResourceActions Composable
-
Completed lesson Switching Between Organizations
-
Completed lesson The Form Dialog Component & Adding Organizations
-
Completed lesson Listing the User's Organizations
-
Completed lesson Setting & Loading the User's Active Organization
-
Upvoted comment Anytime! Yes, sorry, we'll move our home page into our group...
-
Replied to For the authenticated user to be populated you must inform AdonisJS...
Thank you for this quick response. So if I understand correctly, at the current stage of the course (5.6), it's normal to receive this warning message since our 'home' route doesn't have any middleware.
-
Commented on post Forgot Password & Password Reset
Hello Tom,
First of all, thank you for all this amazing work.
I have an warning that I can't fix; in my console, I see the warning message below, even though I do have an authenticated user.
Warning message:
[Vue warn]: Invalid prop: type check failed for prop "user". Expected Object, got Undefined
at <AppLayout user=undefined errors= {} exceptions= {} ... >
at <Inertia initialPage= {
component: 'home',
version: '1',
props: {
user: undefined,
errors: {},
exceptions: {},
messages: {},
version: 6
},
If I do a console log of user, I indeed get undefined:
sharedData: {
user: async (ctx) => {
const user = ctx.auth.use('web').user
console.log(user)
return user && new UserDto(user)
},
However, if I retrieve the user this way:
const user = await ctx.auth.use('web').authenticate()
I do have my user connected. On the other hand, if I log out and return to the login page, I get the message: "The page isn't redirecting properly."
Do you have any idea what the problem is? -
Completed lesson Forgot Password & Password Reset
-
Completed lesson Adding the Remember Me Token
-
Completed lesson Logging In Users & Displaying Exceptions
-
Completed lesson Onboarding Newly Registered Users
-
Completed lesson Logging Out Users
-
Completed lesson Splitting Our Routes Between Auth & Web
-
Completed lesson User Registration with InertiaJS
-
Completed lesson Creating A Toast Message Manager
-
Completed lesson Completing Our AppLayout & Navigation Bar
-
Completed lesson Typing Lucid Models in Inertia with DTOs
-
Completed lesson Seeding Our Initial Database Data
-
Completed lesson Creating A Lucid Model Mixin for our Organization Relationship
-
Completed lesson Defining Our Lucid Models & Relationships
-
Completed lesson Defining Our Migrations & Foreign Keys
-
Completed lesson Understanding Our Database Schema
-
Completed lesson What Are Some of Inertia's Limitations
-
Completed lesson Cross-Site Request Forgery (CSRF) Protection in InertiaJS
-
Completed lesson Creating A FormInput Vue Component
-
Completed lesson Common useForm Methods & Options
-
Completed lesson The useForm Helper
-
Completed lesson Form Validation & Displaying Errors
-
Completed lesson Inertia Form Basics
-
Completed lesson What Code Can & Can't Be Shared Between AdonisJS & Inertia
-
Completed lesson Specifying Page Titles & Meta Tags
-
Completed lesson Default Layouts & Overwriting the Default Layout
-
Completed lesson Creating A Layout
-
Completed lesson Partial and Lazy Data Loading and Evaluation
-
Completed lesson Global Components and Hydration Mismatch in Action
-
Completed lesson The Link Component and Programmatic Linking
-
Completed lesson Linking Between Pages & Page State Flow
-
Completed lesson Sharing Data from AdonisJS to Vue via Inertia
-
Completed lesson The Flow of Pages and Page Props
-
Completed lesson Setting Up TailwindCSS, Shadcn-Vue, and Automatic Component Imports
-
Completed lesson Server-Side Rendering (SSR) vs Client-Side Rendering (CSR)
-
Completed lesson Creating Our AdonisJS App With InertiaJS
-
Completed lesson What We'll Be Building
-
Completed lesson What Is InertiaJS?
-
Completed lesson Introducing AdonisJS
-
Account created Welcome to Adocasts, @mykl!