improve environment handling
This commit is contained in:
@@ -24,4 +24,4 @@ WP_SECURE_AUTH_SALT=generate_me
|
||||
WP_LOGGED_IN_SALT=generate_me
|
||||
WP_NONCE_SALT=generate_me
|
||||
|
||||
WP_JWT_AUTH_SECRET_KEY=generate_me
|
||||
WP_JWT_AUTH_SECRET_KEY=generate_me
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {API_SERVER_BASE} from '../config.js';
|
||||
import {API_SERVER_LOGIN} from '../config.js';
|
||||
|
||||
const MODULE = 'AUTH_';
|
||||
|
||||
@@ -36,7 +36,7 @@ export const loginMessages = {
|
||||
CHANGE_LATER: 'You can change your password in 5 minutes!',
|
||||
INVALID_REFRESH_TOKEN: 'Your session has expired!',
|
||||
EXPIRED_SESSION : 'Your session has expired!',
|
||||
INVALID_USER_TYPE: 'Users with other roles than "customer" must use this url for login: ' + API_SERVER_BASE,
|
||||
INVALID_USER_TYPE: 'Users with other roles than "customer" must use this url for login: ' + API_SERVER_LOGIN,
|
||||
INVALID_CHANGE_TOKEN: 'Invalid change token value!',
|
||||
PASSWORDS_MISSING: 'Password can not be empty',
|
||||
WRONG_USERNAME: 'Invalid username!',
|
||||
|
||||
Reference in New Issue
Block a user