Merge branch 'master' of https://github.com/ONLYOFFICE/CommunityServer-AspNetCore
This commit is contained in:
commit
b66970c03a
@ -60,9 +60,9 @@ class Customization extends React.Component {
|
||||
isLoadedData: false,
|
||||
isLoading: false,
|
||||
timezones,
|
||||
timezone: findSelectedItemByKey(timezones, portalTimeZoneId),
|
||||
timezone: findSelectedItemByKey(timezones, portalTimeZoneId || timezones[0]),
|
||||
languages,
|
||||
language: findSelectedItemByKey(languages, portalLanguage),
|
||||
language: findSelectedItemByKey(languages, portalLanguage || languages[0]),
|
||||
greetingTitle: greetingSettings,
|
||||
isLoadingGreetingSave: false,
|
||||
isLoadingGreetingRestore: false,
|
||||
|
@ -23,7 +23,7 @@ class ConfirmRoute extends React.Component {
|
||||
|
||||
if (forUnauthorized && new Cookies().get(AUTH_KEY))
|
||||
//TODO: Remove cookie getting after setup on server
|
||||
return history.push(`/error=Access error`);
|
||||
return history.push(`/error=Access error. You should be unauthorized for performing this action`);
|
||||
|
||||
const { location, isAuthenticated } = this.props;
|
||||
const { search } = location;
|
||||
|
Loading…
Reference in New Issue
Block a user