rodauth-select-account 0.0.2 → 0.0.3

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: 96167bb6a6cb514dfdb4b0eb19cd1a231f9938326a2f199ebdc458202d2c91c4
4
- data.tar.gz: a8b6e0090b49d59161c66537bda1cf4dac1cbda19692a20c3254535c1257bf4a
3
+ metadata.gz: 73c3033c2a25680b2abc54db4f4f55cc9e11698d699bd70745c97184ca5a6c7e
4
+ data.tar.gz: 1a94b7a28d85b55fbad68eb9800407552d9f5f2b281c84842af829174967451b
5
5
  SHA512:
6
- metadata.gz: 63602f5524af960c0ccfab9a8632d34c1a2678d046dd538381cdbe6d0feb03e16a340ab1f4d8dc3d31a85e2934bd850a7830d58ba04aad9af4223648d194af06
7
- data.tar.gz: 8809b6233fb99fda935134f0115488f7cc89a443f00e8fc8dd3eea3465f1f970a451b30fea6ef277ed961618767854603fa6e41ee9bdbd69691e1374146e4d62
6
+ metadata.gz: 35e2e1d8c4d162cfb0d95f1a1bc1293f9002718bc58619fd6edcebdde7fe0b71588596dbb59a167ebf82400b6d74dd6202c03707949de276fca92bf0355a4250
7
+ data.tar.gz: c000c0f422f9aee6ee6d2278d77523520e7910de79ed528ccf676f4a59ee973d1e8787f53f13ca0edd51d714a751938b3344f7fa9b3dae77dcc853bd9e65d037
@@ -229,7 +229,7 @@ module Rodauth
229
229
  r.post do
230
230
  # This is a copy of the login routine
231
231
  skip_error_flash = false
232
- view = :add_account
232
+ view = :add_account_view
233
233
 
234
234
  catch_error do
235
235
  # this instruction will load the new account
@@ -268,7 +268,7 @@ module Rodauth
268
268
  end
269
269
 
270
270
  set_error_flash add_account_error_flash unless skip_error_flash
271
- send("#{view}_view")
271
+ send(view)
272
272
  end
273
273
  end
274
274
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rodauth
4
4
  module SelectAccount
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-select-account
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-20 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Multiple authenticated accounts per session in rodauth.
14
14
  email: