Skip to content

Update custom attribute on Account model #188

Answered by janko
crespire asked this question in Q&A
Discussion options

You must be logged in to vote

If you need a form to only update that attribute, then you'd do this just like with any other model. You could implement a PUT /account route that accepts only the account[name] parameter and updates the current account. The name attribute is not authentication-related, so there is no point going through Rodauth.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by crespire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants