Replies: 3 comments
-
I was able to get it working with the following Rodauth configuration, which calls an internal method to return the account ID: internal_request_configuration do
after_create_account do
super()
_set_internal_request_return_value(account_id)
end
end auth.create_account(...) #=> 123 I think it would make sense that |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't want to have custom code for this. Assuming |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks guys, it works) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello)
I uses Rodauth as a library and when I creates account i can't retrieve id of account which was created
Example:
And I can't identify which id was assigned to this new account
I tried retrieve it from
session
. I found thatsession
hash on my application level has object_id: X but in rodauth level it has different (Y) object_idSeems rodauth does .dup of this
session
.Could you please give me advise how i can get id of new created account?
Beta Was this translation helpful? Give feedback.
All reactions