passwordless 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 804b060cf61c385d7ea03251dc823732fdef08019793f7c5e537c5711cfba2cb
|
4
|
+
data.tar.gz: 9b4510883e6d796f263701ca4f04669a2c215e36752c1b7a1aa7a302ce9bea1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6768a39dabea6bc87b205b3648d5a8d9d0b50c9d864fca8e60508a3be7a9567a9edc3807cc067f006eba0d719252f1302f6adcafd69c8ce0d4ba7039b6a8c0d7
|
7
|
+
data.tar.gz: 0f1365cb5443a3418f2377bb6be5e22520715e3430df12df0c38d197ed4c7c17885e01a1602969e340f909cf9114454ee6ea374418aa5189001c2aff37e940bf
|
@@ -132,6 +132,10 @@ module Passwordless
|
|
132
132
|
:"passwordless_session_id--#{authenticatable_class_parameterized(authenticatable_class)}"
|
133
133
|
end
|
134
134
|
|
135
|
+
def redirect_session_key(authenticatable_class)
|
136
|
+
:"passwordless_prev_location--#{authenticatable_class_parameterized(authenticatable_class)}"
|
137
|
+
end
|
138
|
+
|
135
139
|
private
|
136
140
|
|
137
141
|
def authenticatable_class_parameterized(authenticatable_class)
|
@@ -142,10 +146,6 @@ module Passwordless
|
|
142
146
|
authenticatable_class.base_class.to_s.parameterize
|
143
147
|
end
|
144
148
|
|
145
|
-
def redirect_session_key(authenticatable_class)
|
146
|
-
:"passwordless_prev_location--#{authenticatable_class_parameterized(authenticatable_class)}"
|
147
|
-
end
|
148
|
-
|
149
149
|
# Deprecated
|
150
150
|
def cookie_name(authenticatable_class)
|
151
151
|
:"#{authenticatable_class.base_class.to_s.underscore}_id"
|
data/lib/passwordless/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passwordless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikkel Malmberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|