addict
addict copied to clipboard
User management lib for Phoenix Framework
Running the tests with Erlang 1.9 was generating compile errors: ```** (CompileError) test/support/router.exs: internal error in v3_core; crash reason: {case_clause, {'EXIT', {badarg, [{erl_anno,anno_info,[-1],[{file,"erl_anno.erl"},{line,360}]}, {v3_core,record_anno,2,[{file,"v3_core.erl"},{line,2410}]}, {v3_core,expr,2,[{file,"v3_core.erl"},{line,539}]}, {v3_core,safe,2,[{file,"v3_core.erl"},{line,1593}]}, {v3_core,expr,2,[{file,"v3_core.erl"},{line,528}]}, {v3_core,safe,2,[{file,"v3_core.erl"},{line,1593}]}, {v3_core,'-safe_list/2-anonymous-0-',2, [{file,"v3_core.erl"},{line,1608}]},...
This change is intended to demonstrate how to use addict while testing. The logged in test use `Plug.Test.init_test_session` I also removed failing tests for the user_management_controller, for actions that are...
The pre-made controller tests that Phoenix generates will break when you add authentication using Addict. How can I log in the `conn` before doing these tests? I believe that this...
While creating PR #125, travis failed : https://travis-ci.org/trenpixster/addict/builds/235564200 ``` 1) test it injects the encrypted_password attribute with custom hasher (InjectHashTest) test/interactors/inject_hash_test.exs:11 Assertion with == failed code: encrypted_password == "dumb-g0g0h0lm3s-password" lhs:...
On a fresh install I was getting invalid CSRF errors when submitting the login form. It turned out `config.generate_csrf_token` was nil, and addict was rendering a blank value in the...
Hello! Thanks for creating Addict, it's great :) I'm following the example app, but when it comes to the log out link, it's done with JavaScript (it sends the request...
Hey there! I'm not sure if this is a bug, a feature request, or simply a bad idea but I've noticed that the user object is stored in the Phoenix...
Hi im trying to get email templates to work but without success. ``` email_reset_password_template: App.EmailTemplate.reset, ``` gives me this ``` $ mix phoenix.server ** (Mix.Config.LoadError) could not load config config/config.exs...
In the README, Checking for authentification: `plug :action` is no longer required. Moreover, it will cause the action to be called a second time. Source: https://github.com/phoenixframework/phoenix/issues/888
Is there any reason the form logic is done in JS instead of using HTML `` tags? I think a lot of logic and code could be removed/simplified this way,...