1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00

Revert "update LOGOUT_URL; (#4785)"

This reverts commit d75beba8bd.
This commit is contained in:
lian
2021-07-08 16:47:09 +08:00
parent 0c76c0c441
commit 5472974cc8
5 changed files with 5 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import { Utils } from '../../utils/utils';
import { seafileAPI } from '../../utils/seafile-api';
import { siteRoot, gettext, appAvatarURL, logoutUrl } from '../../utils/constants';
import { siteRoot, gettext, appAvatarURL } from '../../utils/constants';
import toaster from '../toast';
const propTypes = {
@@ -164,7 +164,7 @@ class Account extends Component {
</div>
<a href={siteRoot + 'profile/'} className="item">{gettext('Settings')}</a>
{this.renderMenu()}
<a href={logoutUrl} className="item">{gettext('Log out')}</a>
<a href={siteRoot + 'accounts/logout/'} className="item">{gettext('Log out')}</a>
</div>
</div>
</div>