Tokens live longer again

parent 39b443f8
......@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do
[app: :grains,
version: "0.0.85",
version: "0.0.86",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
......@@ -30,7 +30,7 @@ defmodule Grains.UserSocket do
# See `Phoenix.Token` documentation for examples in
# performing token verification on connect.
@max_age 1 * 60 * 60
@max_age 10 * 60 * 60
def connect(%{"token" => "foobar"}, socket) do
{:ok, assign(socket, :user_uuid, "foobar")}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment