hotspotlogin 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hotspotlogin/config.rb +12 -0
- data/lib/hotspotlogin/constants.rb +1 -1
- metadata +2 -2
data/lib/hotspotlogin/config.rb
CHANGED
@@ -48,6 +48,18 @@ module HotSpotLogin
|
|
48
48
|
@@config['logo'] = file
|
49
49
|
end
|
50
50
|
|
51
|
+
opts.on('--logo-link URL', 'add an hyperlink to the logo') do |url|
|
52
|
+
@@config['logo-link'] = url
|
53
|
+
end
|
54
|
+
|
55
|
+
opts.on('--my-url URL', 'display a "My Account" link, -USER- will be dinamically replaced by the actual username, e.g. https://accounts.myorg.com/?id=-USER-') do |url|
|
56
|
+
@@config['my-url'] = url
|
57
|
+
end
|
58
|
+
|
59
|
+
opts.on('--signup-url URL', 'display an external link where end-user may create a new account') do |url|
|
60
|
+
@@config['signup-url'] = url
|
61
|
+
end
|
62
|
+
|
51
63
|
opts.on('--favicon FILE', 'well, favicon ;)') do |file|
|
52
64
|
@@config['favicon'] = file
|
53
65
|
end
|