mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 14:51:29 +00:00
Fixes #3677
This commit is contained in:
parent
55ea54608d
commit
61a22c3a9b
@ -95,7 +95,7 @@ const AuthPage = ({
|
|||||||
const body = omit(modifiedData, 'news');
|
const body = omit(modifiedData, 'news');
|
||||||
|
|
||||||
if (authType === 'forgot-password') {
|
if (authType === 'forgot-password') {
|
||||||
set(body, 'url', `${strapi.backendURL}/admin/auth/reset-password`);
|
set(body, 'url', `${strapi.remoteURL}/auth/reset-password`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { jwt, user, ok } = await request(requestURL, {
|
const { jwt, user, ok } = await request(requestURL, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user