Frontend dashboards with login #9

Merged
bilal.catic merged 19 commits from frontend-dashboards-with-login into master 2018-08-08 18:24:39 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e3765f7b09 - Show all commits

View File

@@ -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

View File

@@ -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!',