Skip to content

Amber auth edit user don't work w/ method patch in form #1008

Description

@Willyboar

Description

Update user profile of amber auth don't work.

Steps to Reproduce

  1. Create a new amber project with sqlite
  2. Create amber auth using
    amber g auth User
  3. Create and migrate the database.
  4. I use both seed the db or register a new user.

Expected behavior:
Expect to edit the user email

Actual behavior:
Doesn't edited the user

Reproduces how often:
Always

Versions

I am using latest versions of both Crystal and Amberframework

Additional Information

when i change the form method in the src/views/user/edit.ecr from patch to post it works. Put and patch don't work.

P.S It would be nice to be able to edit password too.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions