HTTP 404 (GET /register/verify.php?vkey=91cb65b234b0b5d67df68e0d7f72ed7e)
Hi,because I save the verification key whe the user registers.
And when the user comes back (after clicking the link within the email) I check if the vkey isset; and get the stored vkey from db and compare both. If they match, all good, user gets rerouted.I don´t know how I would achieve that using your proposal ( "/register/verify/somekey" ).
Thanks
On Saturday, 7 March 2020 01:12:38 UTC+1, ved wrote:Hi,Why even send the user that "/register/verify.php?vkey=somekey" in the first place?Why not just send the customer a "/register/verify/somekey" link and handle it inside the registerverified() method?tl;dr: Do not use any ".php" directly on your routes.Cheers.
--
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/06272eae-50bf-4727-837c-972ae3cbe042%40googlegroups.com.
$f3 = \Base::instance(); // or get your F3 instance from someplace else
$key = $f3->get('PARAMS.vkey');