@rpcbase/client 0.74.0 → 0.75.0
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.
- package/auth/SetNewPassword/index.js +2 -1
- package/base_url.js +0 -2
- package/hashState.js +2 -2
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ const SetNewPassword = ({name, logo}) => {
|
|
|
74
74
|
|
|
75
75
|
<h1 className="h4 mt-3 mb-3 fw-normal">New Password</h1>
|
|
76
76
|
<p className="text-start text-muted">
|
|
77
|
-
Passwords must use at least 12 characters
|
|
77
|
+
Passwords must use at least 12 characters
|
|
78
78
|
</p>
|
|
79
79
|
|
|
80
80
|
{error && (
|
|
@@ -94,6 +94,7 @@ const SetNewPassword = ({name, logo}) => {
|
|
|
94
94
|
<input type="password"
|
|
95
95
|
className="form-control"
|
|
96
96
|
id="input-password1"
|
|
97
|
+
autoFocus
|
|
97
98
|
placeholder="Password"
|
|
98
99
|
disabled={isLoading || isSuccess}
|
|
99
100
|
value={password1}
|
package/base_url.js
CHANGED
package/hashState.js
CHANGED
|
@@ -38,9 +38,9 @@ const apply_hash_state = (payload) => {
|
|
|
38
38
|
const str = encodeHashState(payload)
|
|
39
39
|
|
|
40
40
|
if (str === EMPTY_STATE_TOKEN) {
|
|
41
|
-
history.replaceState(null, null, window.location.pathname)
|
|
41
|
+
history.replaceState(null, null, window.location.pathname + window.location.search)
|
|
42
42
|
} else {
|
|
43
|
-
history.replaceState(null, null, `${window.location.pathname}#${encodeHashState(payload)}`)
|
|
43
|
+
history.replaceState(null, null, `${window.location.pathname}${window.location.search}#${encodeHashState(payload)}`)
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|