Commit bba52e26 authored by John Noel's avatar John Noel

Finished initial setup of Devise

parent 2b2b5469
...@@ -7,7 +7,7 @@ RUN apk update && apk add build-base nodejs ...@@ -7,7 +7,7 @@ RUN apk update && apk add build-base nodejs
RUN apk add --update bash tzdata sqlite sqlite-dev RUN apk add --update bash tzdata sqlite sqlite-dev
RUN apk add --update git RUN apk add --update git less
RUN rm -rf /var/cache/apk/* RUN rm -rf /var/cache/apk/*
......
...@@ -8,7 +8,7 @@ Devise.setup do |config| ...@@ -8,7 +8,7 @@ Devise.setup do |config|
# confirmation, reset password and unlock tokens in the database. # confirmation, reset password and unlock tokens in the database.
# Devise will use the `secret_key_base` as its `secret_key` # Devise will use the `secret_key_base` as its `secret_key`
# by default. You can change it below and use your own secret key. # by default. You can change it below and use your own secret key.
# config.secret_key = '34a4570890fd651742cd8af4f01d3dfcb5d88657d26d1b72e2b55b9a6eaf7d4ba4f76f6d50404cc5164e485dd786f6122825446a53b2349f2d9a0ea265c251ee' config.secret_key = '34a4570890fd651742cd8af4f01d3dfcb5d88657d26d1b72e2b55b9a6eaf7d4ba4f76f6d50404cc5164e485dd786f6122825446a53b2349f2d9a0ea265c251ee'
# ==> Controller configuration # ==> Controller configuration
# Configure the parent class to the devise controllers. # Configure the parent class to the devise controllers.
...@@ -229,7 +229,7 @@ Devise.setup do |config| ...@@ -229,7 +229,7 @@ Devise.setup do |config|
# Turn scoped views on. Before rendering "sessions/new", it will first check for # Turn scoped views on. Before rendering "sessions/new", it will first check for
# "users/sessions/new". It's turned off by default because it's slower if you # "users/sessions/new". It's turned off by default because it's slower if you
# are using only default views. # are using only default views.
# config.scoped_views = false config.scoped_views = true
# Configure the default scope given to Warden. By default it's the first # Configure the default scope given to Warden. By default it's the first
# devise role declared in your routes (usually :user). # devise role declared in your routes (usually :user).
......
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