Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed May 5, 2024
1 parent 0f99210 commit e51cf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/client/login/ClientTokenSet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export default class ClientTokenSet {
// is the response okay?
if (body.status === 403) {
setGlobalState({
isBlocked: true,
isPersonalBlock: true,
isLoading: false,
});
ReportError('Invalid token', window.tokenCache.name);
Expand All @@ -88,8 +90,6 @@ export default class ClientTokenSet {

if (body.status === 409) {
setGlobalState({
isBlocked: true,
isPersonalBlock: true,
isLoading: false,
});
showTextModal('Invalid client', 'This client is not whitelisted to be used on this server. Please set this client as your base url in your account', 'and try again.');
Expand Down

0 comments on commit e51cf3c

Please sign in to comment.