-
Hello, I am new to rodauth but really enjoying it. I am using it for an app where Accounts can be created from a chatbot. Hence I have activated the internal_request feature to allow me create the Account with Rodauth to benefit all the features (validation, emails, etc.). The account creation goes well, I'm abale to even create an associated User record in the process using the after_create_account method. But I am later unable to perform an update action on this newly created User record. I have been facing 2 issues, on the same line (see below: when I do
I don't understand what's happening here. Please help me, I've been fighting this for days and now I am totally stuck! Here is my code: rodauth config:
controller:
User model:
Error message:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
What was the backtrace of the original error you got in the older version of Rodauth? Did you by any chance call |
Beta Was this translation helpful? Give feedback.
What was the backtrace of the original error you got in the older version of Rodauth? Did you by any chance call
current_account
somewhere without first checking whether the user is logged in (see #142)? Updating Active Record models shouldn't be causing these issues, because Rodauth isn't being called.