hotspotlogin 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,6 +1,6 @@
1
1
  module HotSpotLogin
2
2
 
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
 
5
5
  DEFAULT_CONFIG = {
6
6
  'listen-address' => '0.0.0.0',
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 0
9
- version: 1.2.0
8
+ - 1
9
+ version: 1.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guido De Rosa