rodauth-select-account 0.0.2 → 0.0.3
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 +4 -4
- data/lib/rodauth/features/select_account.rb +2 -2
- data/lib/rodauth/select-account/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73c3033c2a25680b2abc54db4f4f55cc9e11698d699bd70745c97184ca5a6c7e
|
|
4
|
+
data.tar.gz: 1a94b7a28d85b55fbad68eb9800407552d9f5f2b281c84842af829174967451b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 = :
|
|
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(
|
|
271
|
+
send(view)
|
|
272
272
|
end
|
|
273
273
|
end
|
|
274
274
|
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.
|
|
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-
|
|
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:
|