|
|
@@ -453,6 +453,25 @@ class SecuritySetting extends React.Component {
|
|
|
].map(arr => this.renderPageDeletePermission(arr[0], arr[1], arr[2], arr[3]))
|
|
|
}
|
|
|
|
|
|
+ <h4>ユーザーページの削除</h4>
|
|
|
+ <div className="row mb-4">
|
|
|
+ <div className="col-6 offset-3">
|
|
|
+ <div className="custom-control custom-switch custom-checkbox-success">
|
|
|
+ <input
|
|
|
+ type="checkbox"
|
|
|
+ className="custom-control-input"
|
|
|
+ id="isUserPageDeleteEnabled"
|
|
|
+ checked={adminGeneralSecurityContainer.state.isUserPageDeleteEnabled}
|
|
|
+ onChange={() => { adminGeneralSecurityContainer.switchIsUserPageDeleteEnabled() }}
|
|
|
+ />
|
|
|
+ <label className="custom-control-label" htmlFor="isUserPageDeleteEnabled">
|
|
|
+ 有効化
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ <p className="form-text text-muted small" dangerouslySetInnerHTML={{ __html: 'ユーザー削除時にユーザーページも削除します。' }} />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<h4>{t('security_settings.session')}</h4>
|
|
|
<div className="form-group row">
|
|
|
<label className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.max_age')}</label>
|