@adminforth/open-signup 1.0.7 → 1.0.8

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/Changelog.md CHANGED
@@ -1,5 +1,8 @@
1
1
 
2
+ ## [v1.0.8]
2
3
 
4
+ # Fixed
5
+ - ensure next params keeps be encoded as URI between moving to/from login page
3
6
 
4
7
  ## [v1.0.7]
5
8
 
@@ -121,7 +121,7 @@
121
121
  {{$t('Please check your email at')}} {{ sentToEmail }} {{$t('to confirm your email address.')}}
122
122
  </div>
123
123
  <p class="text-gray-500 dark:text-gray-400 font-sm text-right mt-3">
124
- {{$t('Already have an account?')}} <Link :to="`/login${route.query.next ? `?next=${route.query.next}` : ''}`">{{ $t('login here') }}</Link>
124
+ {{$t('Already have an account?')}} <Link :to="`/login${route.query.next ? `?next=${encodeURIComponent(route.query.next)}` : ''}`">{{ $t('login here') }}</Link>
125
125
  </p>
126
126
  </div>
127
127
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <p class="text-gray-500 dark:text-gray-400 font-sm text-left mt-3">
3
3
  {{$t('Have no account?')}}
4
- <Link :to="`/signup${route.query.next ? `?next=${route.query.next}` : ''}`">
4
+ <Link :to="`/signup${route.query.next ? `?next=${encodeURIComponent(route.query.next)}` : ''}`">
5
5
  {{$t('sign up now')}}
6
6
  </Link>
7
7
  </p>
@@ -121,7 +121,7 @@
121
121
  {{$t('Please check your email at')}} {{ sentToEmail }} {{$t('to confirm your email address.')}}
122
122
  </div>
123
123
  <p class="text-gray-500 dark:text-gray-400 font-sm text-right mt-3">
124
- {{$t('Already have an account?')}} <Link :to="`/login${route.query.next ? `?next=${route.query.next}` : ''}`">{{ $t('login here') }}</Link>
124
+ {{$t('Already have an account?')}} <Link :to="`/login${route.query.next ? `?next=${encodeURIComponent(route.query.next)}` : ''}`">{{ $t('login here') }}</Link>
125
125
  </p>
126
126
  </div>
127
127
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <p class="text-gray-500 dark:text-gray-400 font-sm text-left mt-3">
3
3
  {{$t('Have no account?')}}
4
- <Link :to="`/signup${route.query.next ? `?next=${route.query.next}` : ''}`">
4
+ <Link :to="`/signup${route.query.next ? `?next=${encodeURIComponent(route.query.next)}` : ''}`">
5
5
  {{$t('sign up now')}}
6
6
  </Link>
7
7
  </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/open-signup",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",