File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
module OmniAuth
2
2
module Rpi
3
- VERSION = '1.1 .0' . freeze
3
+ VERSION = '1.2 .0' . freeze
4
4
end
5
5
end
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Hydra0 < OmniAuth::Strategies::OAuth2
10
10
11
11
def authorize_params
12
12
super . tap do |params |
13
- %w[ scope client_options ] . each do |v |
13
+ %w[ scope client_options force_signup ] . each do |v |
14
14
params [ v . to_sym ] = request . params [ v ] if request . params [ v ]
15
15
end
16
16
end
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ class Hydra1 < OmniAuth::Strategies::OAuth2
11
11
authorize_url :'https://auth-v1.raspberrypi.org/oauth2/auth' ,
12
12
token_url : 'https://auth-v1.raspberrypi.org/oauth2/token'
13
13
}
14
-
14
+
15
15
def authorize_params
16
16
super . tap do |params |
17
- %w[ scope client_options ] . each do |v |
17
+ %w[ scope client_options force_signup ] . each do |v |
18
18
params [ v . to_sym ] = request . params [ v ] if request . params [ v ]
19
19
end
20
20
end
You can’t perform that action at this time.
0 commit comments