amberframework / amber

A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
https://amberframework.org
MIT License
2.58k stars 206 forks source link

fixes auth template when model entity name is different of User #1353

Closed aissarmurad closed 11 months ago

aissarmurad commented 11 months ago

Description of the Change

This PR fixes a issue with auth generator template when We generate an auth model using a different name from documentation.

2023-10-24_22-53

Alternate Designs

Benefits

This change allows generate an auth model different of User.

Possible Drawbacks

None