standard_id 0.21.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4999da4a28bb0450d14da9b7383099cbf67860c9c739c7785cc84f8ba2cc84f0
4
- data.tar.gz: f6d6574ddb0c3e331dd955bd3fd1c65a3b30c523f7d721b7274762d558f017ca
3
+ metadata.gz: fea1716449529456cd6e771d62e2565d9100b96d10fb1fb93a4e0e13dc22ca74
4
+ data.tar.gz: 6403031d85b3a6c50f6a24c1249cb26d3c1b730cc77355d6f5f44946a0a237c4
5
5
  SHA512:
6
- metadata.gz: 20d8e4560eacf2a272e2cadafcb5647a82781813a5164f510a91bf8f80fc6d3bb17a6287fee15b41704907b323a3039c279213603cfdf619639298b8ca952f80
7
- data.tar.gz: 60b2c0fa613bcf40eae4197e73d122d957769f4faae6f85dafdec25e463ef375c336fa07308459e0c0c1d1c49ce7ef03ff0fe5d50f1839a0f1213323be74f3cc
6
+ metadata.gz: 33e81b4a0b5d0bf44519c6713e9fd433420362388030fb6bdc22d11e134b342614b92943bfa9b3aacbda9edc4ce63eda3f5345d805514e4db731f35dbfa71d90
7
+ data.tar.gz: 4e2400b5411341dfdd7f70d5921f5357f4fc7dbcb48e416fe58252267d0a711ac479d35536340202714fbc34bf6af50e0ca15424a27d2ce667f96ad946153225
@@ -34,10 +34,12 @@
34
34
  <%= render "standard_id/web/login/social_buttons" %>
35
35
  <% end %>
36
36
 
37
- <p>
38
- Not a member?
39
- <%= link_to "Sign up", signup_path(redirect_uri: @redirect_uri) %>
40
- </p>
37
+ <% if StandardId.config.web.signup %>
38
+ <p>
39
+ Not a member?
40
+ <%= link_to "Sign up", signup_path(redirect_uri: @redirect_uri) %>
41
+ </p>
42
+ <% end %>
41
43
  </main>
42
44
 
43
45
  <% elsif @password_enabled %>
@@ -91,9 +93,11 @@
91
93
  <label for="remember-me" class="block text-sm/6 text-gray-900 dark:text-white">Remember me</label>
92
94
  </div>
93
95
 
94
- <div class="text-sm/6">
95
- <%= link_to "Forgot password?", reset_password_start_path, class: "font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" %>
96
- </div>
96
+ <% if StandardId.config.web.password_reset %>
97
+ <div class="text-sm/6">
98
+ <%= link_to "Forgot password?", reset_password_start_path, class: "font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" %>
99
+ </div>
100
+ <% end %>
97
101
  </div>
98
102
 
99
103
  <div>
@@ -143,10 +147,12 @@
143
147
  <% end %>
144
148
  </div>
145
149
 
146
- <p class="mt-10 text-center text-sm/6 text-gray-500 dark:text-gray-400">
147
- Not a member?
148
- <%= link_to "Sign up", signup_path(redirect_uri: @redirect_uri), class: "font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" %>
149
- </p>
150
+ <% if StandardId.config.web.signup %>
151
+ <p class="mt-10 text-center text-sm/6 text-gray-500 dark:text-gray-400">
152
+ Not a member?
153
+ <%= link_to "Sign up", signup_path(redirect_uri: @redirect_uri), class: "font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" %>
154
+ </p>
155
+ <% end %>
150
156
  </div>
151
157
  </div>
152
158
 
@@ -1,3 +1,3 @@
1
1
  module StandardId
2
- VERSION = "0.21.0"
2
+ VERSION = "0.21.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryl Sim