Replies: 2 comments 4 replies
-
With this, you can customize the URL |
Beta Was this translation helpful? Give feedback.
3 replies
-
I realised that all I needed to do to get email verification to use uuid was to override the getKey() method in my user model. But a side effect is that queries for user.id returns the uuid and my jobs fail with this message: 'No query results for model [App\Models\User].' because of this. Hoe do I resolve this? I essentially need my queries to run with user.uuid instead of user.id. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to avoid exposing app metrics to users and this lead me to adding uuid to my user models and using it in routes. The email verification built into Laravel exposes user count by using user id in the verification url.
Is it possible for me to customise the authorize() method of the VerifyEmailRequest class to use uuid instead of id?
Beta Was this translation helpful? Give feedback.
All reactions