Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 16:42:25 +0400
committerMarin Jankovski <marin@gitlab.com>2014-07-09 16:42:25 +0400
commit4024aa8e812a546b0d6c9110b6b8d36d327961fc (patch)
treedd30ff86512f48eb0ecce56ae2e40879fefd481d /config
parent34cfd84ed253dbee59c3097b0d10d9ed112cac58 (diff)
Try to keep token authenticable compatibility
Diffstat (limited to 'config')
-rw-r--r--config/initializers/devise.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 50669ece7a8..34f4f386988 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -155,10 +155,6 @@ Devise.setup do |config|
# REST_AUTH_SITE_KEY to pepper)
# config.encryptor = :sha512
- # ==> Configuration for :token_authenticatable
- # Defines name of the authentication token params key
- config.token_authentication_key = :private_token
-
# Authentication through token does not store user in session and needs
# to be supplied on each request. Useful if you are using the token as API token.
config.skip_session_storage << :token_auth