twitter-auth 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/app/controllers/sessions_controller.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -48,7 +48,7 @@ class SessionsController < ApplicationController
|
|
48
48
|
cookies[:remember_token] = @user.remember_me
|
49
49
|
|
50
50
|
authentication_succeeded
|
51
|
-
rescue Net::HTTPServerException => e
|
51
|
+
rescue Net::HTTPServerException, Net::HTTPFatalError => e
|
52
52
|
case e.message
|
53
53
|
when '401 "Unauthorized"'
|
54
54
|
authentication_failed('This authentication request is no longer valid. Please try again.') and return
|