summaryrefslogtreecommitdiff
path: root/config/initializers/devise.rb
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 14:42:25 +0200
committerMarin Jankovski <marin@gitlab.com>2014-07-09 14:42:25 +0200
commit4024aa8e812a546b0d6c9110b6b8d36d327961fc (patch)
treedd30ff86512f48eb0ecce56ae2e40879fefd481d /config/initializers/devise.rb
parent34cfd84ed253dbee59c3097b0d10d9ed112cac58 (diff)
downloadgitlab-ce-4024aa8e812a546b0d6c9110b6b8d36d327961fc.tar.gz
Try to keep token authenticable compatibility
Diffstat (limited to 'config/initializers/devise.rb')
-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