Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix for auth template, see issue #1174 #1181

Closed
wants to merge 1 commit into from

Conversation

AndiLavera
Copy link
Contributor

Description of the Change

This PR is meant to be a quick fix for issue #1174
This isn't meant to be a permanent change. You can read my reasoning in the issue.

Alternate Designs

Any alternates would have to be in either Granite or Amber Router but i believe it's a granite issue as Param#validate! successfully returns the proper hash.

Benefits

Users of amberframework have access to a working auth template. Currently, the auth template builds but fails to actually work.

Possible Drawbacks

No drawbacks that i am aware of, minus being ugly. I would love if someone more experienced can let me know if i am wrong. But we still call Params#validate! to ensure the params are safe.

@AndiLavera AndiLavera closed this Feb 16, 2020
@AndiLavera AndiLavera deleted the auth-fix branch February 16, 2020 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant