From ac6030ec7e6eeccea7e4f0eec72516870d6b8c53 Mon Sep 17 00:00:00 2001 From: Tomek Gryszkiewicz Date: Tue, 4 Sep 2018 13:55:31 +0200 Subject: [PATCH] load application before checking the version; fixed #163 --- lib/drab/core.ex | 3 +-- lib/mix/tasks/drab.install.ex | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/drab/core.ex b/lib/drab/core.ex index e0e9df6..77ba263 100644 --- a/lib/drab/core.ex +++ b/lib/drab/core.ex @@ -141,8 +141,7 @@ defmodule Drab.Core do config entry, see Drab.Config * Drab Store is not the Plug Session! This is a different entity. Anyway, you have an access to the Plug Session (details below). - * Drab Store is stored on the client side and it is signed, but - as the Plug Session cookie - - not ciphered. + * Drab Store is stored on the client side and it is encrypted. ## Session diff --git a/lib/mix/tasks/drab.install.ex b/lib/mix/tasks/drab.install.ex index 3d4b68f..72bd582 100644 --- a/lib/mix/tasks/drab.install.ex +++ b/lib/mix/tasks/drab.install.ex @@ -140,6 +140,7 @@ defmodule Mix.Tasks.Drab.Install do end defp validate_phoenix_version do + Application.load(:phoenix) unless phoenix13?() do Mix.raise(""" Only Phoenix 1.3 is supported with the installer, please proceed with manual install.