rails_simple_auth 1.2.1 → 1.2.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f04047a219e2fecb1276e8842b8fe9c83d70a20d0aea65d0803e1d626317a88f
|
|
4
|
+
data.tar.gz: b9b58f955cf0f5ccab48bf287fdabfb10cb157df88b684a76b4e6b19011466c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa49cd538f6d40890f650250e11152f1a4dbbd1611f2df1ffafc8cefd64fcb23dcd60f1f99b32b08faa1a369d4268bd7fc8a22f3e304c2579348c858a8a48a13
|
|
7
|
+
data.tar.gz: b8b3bc5271ae2fdb41c190319e5bde180ee201d299400ecd3921084594471e275416ffa696102c31870ae9f9ad8488742f841c04aecaec1f18adf19dbc1146fa
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.2] - 2026-09-15
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Redirect password-authenticated users with unconfirmed emails to the confirmation form and prefill their email. Keep them signed out until confirmation; opening the form does not automatically resend email.
|
|
15
|
+
|
|
10
16
|
## [1.2.1] - 2026-09-15
|
|
11
17
|
|
|
12
18
|
### Fixed
|
|
@@ -32,9 +32,8 @@ module RailsSimpleAuth
|
|
|
32
32
|
|
|
33
33
|
if user.authenticate(params[:password]) && user.persisted?
|
|
34
34
|
if confirmation_required_for?(user)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
render :new, status: :unprocessable_content
|
|
35
|
+
session[:confirmation_email] = user.email
|
|
36
|
+
redirect_to new_confirmation_path
|
|
38
37
|
else
|
|
39
38
|
sign_in_and_redirect(user)
|
|
40
39
|
end
|