This commit is contained in:
parent
5bdf6a7338
commit
54e8e6a27d
|
@ -131,7 +131,7 @@ module.exports = function(Self) {
|
||||||
|
|
||||||
const userToken = await token.user.get();
|
const userToken = await token.user.get();
|
||||||
|
|
||||||
if (userToken.username !== user) {
|
if (userToken.username.toLowerCase() !== user.toLowerCase()) {
|
||||||
console.error('ERROR!!! - Signin with other user', userToken, user);
|
console.error('ERROR!!! - Signin with other user', userToken, user);
|
||||||
throw new UserError('Try again');
|
throw new UserError('Try again');
|
||||||
}
|
}
|
||||||
|
|
|
@ -196,6 +196,6 @@
|
||||||
"Negative basis of tickets: 23": "Negative basis of tickets: 23",
|
"Negative basis of tickets: 23": "Negative basis of tickets: 23",
|
||||||
"Booking completed": "Booking complete",
|
"Booking completed": "Booking complete",
|
||||||
"The ticket is in preparation": "The ticket [{{ticketId}}]({{{ticketUrl}}}) of the sales person {{salesPersonId}} is in preparation",
|
"The ticket is in preparation": "The ticket [{{ticketId}}]({{{ticketUrl}}}) of the sales person {{salesPersonId}} is in preparation",
|
||||||
"You can only add negative amounts in refund tickets": "You can only add negative amounts in refund tickets"
|
"You can only add negative amounts in refund tickets": "You can only add negative amounts in refund tickets",
|
||||||
}
|
"Try again": "Try again"
|
||||||
|
}
|
Loading…
Reference in New Issue