Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Run `mix deps.get` to install it.

## Getting started (Phoenix)

**Umbrella project:** In an umbrella project run `mix pow.ecto.install` inside your Ecto app instead of `mix pow.install`, and then continue with updating `config.ex`, `endpoint.ex` and `router.ex` inside your Phoenix app.
**Umbrella project:** In an umbrella project run `mix pow.ecto.install` inside your Ecto app instead of `mix pow.install`, and then continue with updating `config.ex`, `endpoint.ex` and `router.ex` inside your Phoenix app using `:my_app_web` in place of `:my_app` as the otp app.

Install the necessary files:

2 changes: 1 addition & 1 deletion test/pow/ecto/schema/password_test.exs
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ defmodule Pow.Ecto.Schema.PasswordTest do
@password "secret"

test "pbkdf2_hash/1" do
assert [algo, iterations, salt, _hash] = String.split(Password.pbkdf2_hash(@password, []), "$", trim: true)
assert [algo, iterations, _salt, _hash] = String.split(Password.pbkdf2_hash(@password, []), "$", trim: true)

assert algo == "pbkdf2-sha512"
assert iterations == "100000"

0 comments on commit 58353ff

Please sign in to comment.