pseudo_kiosk 0.1.0 → 0.1.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: d55fa93717efba52a0ed428d4fc4ac23f25321792f7ab517fa5f25c6e516be3c
4
- data.tar.gz: 36cad7483842d86cb7a394d06ff291d1ce96aa042bff143867721735fb1a1705
3
+ metadata.gz: 8a0c82f5e040dec1f8df326f95912e39ff7f13b8a5cb2cdf42f74e984462b568
4
+ data.tar.gz: 0f5803f0ca2372cb84f12246f61c87379d8cf60a15161ad750122b0b7840adfc
5
5
  SHA512:
6
- metadata.gz: 4a9bb2ea15dee2086fe4f73e0df30e5ed1b912f8782ea870f18c60c83501c59d7e8d85d1c4215c76d31af6755aedfdea51bdae9dc086db4744da950d649773b2
7
- data.tar.gz: 6f610505ff484a4f85aaae880eb0064767dceedad968e48877a14510b143352b3b34c29a136f0fb5566d120661788859875bac6264a3abe640aeec960612713a
6
+ metadata.gz: 0f559b83b1b0e56338f3a0a96d9f9316a049209c394a7f12c0918a98dbeaa917513dde71b46730b4ad9045d01c7b7457f6ea558d12b4084176c6e36038467bb6
7
+ data.tar.gz: 71b72d5248348565736fea100900969280eab2deeb4c56bad0b15b33addb258bf973430f60331ddc71f63ec0e899a8583e001250d6503bdb43f8b273414e6d01
@@ -1,5 +1,4 @@
1
1
  class PseudoKiosk::AuthenticationController < ApplicationController
2
- skip_before_action :verify_authenticity_token
3
2
  def unlock
4
3
  unless session[:pseudo_kiosk_enabled]
5
4
  redirect_back(fallback_location: root_path)
@@ -184,7 +184,8 @@ input[type=submit] {
184
184
  <input type="range" value="0" class="pullee" />
185
185
  </div>
186
186
  <% # This is bad... I am having a problem using the named routes within the rails engine plugin %>
187
- <%= form_tag 'process_submit', authenticity_token: true do %>
187
+ <%= form_tag 'process_submit', authenticity_token: false do %>
188
+ <%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
188
189
  <div id="pass_window" class="center-xy">
189
190
  <h1>Passcode:</h1>
190
191
  <div id="invalid">Invalid Passcode! Please try again.</div>
@@ -1,3 +1,3 @@
1
1
  module PseudoKiosk
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pseudo_kiosk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-26 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails