-
Given a list of roles, I am trying to check if one of the roles is contained in the roles set. Can the wiki include an example?
**user.ex schema**
```
schema "users" do
...
field :role, {:a…
-
Here is my attempt with "Ctrl+Shift+G"
```
>>>
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 389, in run_callback
expr()
File "/opt/sublime_text/su…
voger updated
7 years ago
-
Replace term_to_binary and binary_to_term variants with JSON encoding / decoding (provided by Poison).
## Side-effects of this change
Tokens created with the old implementation will no longer be…
-
Invalidating active phoenix sessions in case any do get compromised does require changing the session secret, a.k.a. dropping all active sessions. A more secure way would be to add some kind of db bac…
-
I'm just guessing, but it seems Phauxth.Token.verify isn't compatible with receiving a socket instead of a connection. The error I am getting is:
Request: GET /socket/websocket?token=fake_token&vsn…
-
I'm trying to migrate some projects from Phx1.2/Openmaize to Phx1.3/Phauxth, so I've start to play with Phauxth 0.15, but it seems that v.015 isn't yet ready when the `--confirm` option is given, beca…
-
I noticed that the `success` flash message is missing after a successful password change. I believe this is due to the `configure_session(conn, drop: true)` on line: https://github.com/riverrun/phauxt…
-
Sorry if this is a silly question but I couldn't find any other way to ask it, and there was no information in the wiki.
Do I understand it right that:
- phauxth is using server stored sessions vs…
-
W.R.T: 1b00fa78e0393bfcd1f02861d59dfef518df1c58
This breaks Phauxth with `function Bcrypt.verify_hash/3 is undefined or private.`
-
I think perhaps it's a namespacing issue? Library looks really promising, thanks for the hard work and effort 👍
```
Request: POST /sessions
** (exit) an exception was raised:
** (UndefinedF…