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,
|
isLoadedData: false,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
timezones,
|
timezones,
|
||||||
timezone: findSelectedItemByKey(timezones, portalTimeZoneId),
|
timezone: findSelectedItemByKey(timezones, portalTimeZoneId || timezones[0]),
|
||||||
languages,
|
languages,
|
||||||
language: findSelectedItemByKey(languages, portalLanguage),
|
language: findSelectedItemByKey(languages, portalLanguage || languages[0]),
|
||||||
greetingTitle: greetingSettings,
|
greetingTitle: greetingSettings,
|
||||||
isLoadingGreetingSave: false,
|
isLoadingGreetingSave: false,
|
||||||
isLoadingGreetingRestore: false,
|
isLoadingGreetingRestore: false,
|
||||||
|
@ -23,7 +23,7 @@ class ConfirmRoute extends React.Component {
|
|||||||
|
|
||||||
if (forUnauthorized && new Cookies().get(AUTH_KEY))
|
if (forUnauthorized && new Cookies().get(AUTH_KEY))
|
||||||
//TODO: Remove cookie getting after setup on server
|
//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 { location, isAuthenticated } = this.props;
|
||||||
const { search } = location;
|
const { search } = location;
|
||||||
|
Loading…
Reference in New Issue
Block a user