mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
Fix front-end before release
Fix eye position input password Add notification on settings update plugin users permissions Fix error display on login page Co-authored-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
c52fe7165b
commit
bbc2493f07
@ -14,7 +14,7 @@
|
||||
.iconEyeSubWrapper {
|
||||
position: absolute;
|
||||
top: -2.6rem;
|
||||
right: 2.7rem;
|
||||
right: 1.7rem;
|
||||
color: #9EA7B8;
|
||||
&:hover {
|
||||
color: black!important;
|
||||
|
||||
@ -77,6 +77,7 @@ class InputPasswordWithErrors extends React.Component {
|
||||
labelClassName,
|
||||
labelStyle,
|
||||
name,
|
||||
noErrorsDescription,
|
||||
onChange,
|
||||
onFocus,
|
||||
placeholder,
|
||||
@ -122,7 +123,7 @@ class InputPasswordWithErrors extends React.Component {
|
||||
/>
|
||||
<InputErrors
|
||||
className={errorsClassName}
|
||||
errors={this.state.errors}
|
||||
errors={!noErrorsDescription && this.state.errors || []}
|
||||
style={errorsStyle}
|
||||
/>
|
||||
</div>
|
||||
@ -150,6 +151,7 @@ InputPasswordWithErrors.defaultProps = {
|
||||
label: '',
|
||||
labelClassName: '',
|
||||
labelStyle: {},
|
||||
noErrorsDescription: false,
|
||||
placeholder: 'app.utils.placeholder.defaultMessage',
|
||||
style: {},
|
||||
tabIndex: '0',
|
||||
@ -190,6 +192,7 @@ InputPasswordWithErrors.propTypes = {
|
||||
labelClassName: PropTypes.string,
|
||||
labelStyle: PropTypes.object,
|
||||
name: PropTypes.string.isRequired,
|
||||
noErrorsDescription: PropTypes.bool,
|
||||
onBlur: PropTypes.oneOfType([
|
||||
PropTypes.bool,
|
||||
PropTypes.func,
|
||||
|
||||
@ -72,6 +72,7 @@ export function* submitData(action) {
|
||||
|
||||
yield call(request, `/users-permissions/${action.endPoint}`, opts);
|
||||
yield put(submitSucceeded());
|
||||
strapi.notification.success('users-permissions.notification.success.submit');
|
||||
} catch(error) {
|
||||
strapi.notification.error('notification.error');
|
||||
}
|
||||
|
||||
@ -110,6 +110,7 @@
|
||||
"notification.error.fetchUser": "An error occurred while trying to fetch users",
|
||||
"notification.info.emailSent": "The email has been sent",
|
||||
"notification.success.delete": "The item has been deleted",
|
||||
"notification.success.submit": "Settings have been updated",
|
||||
|
||||
"plugin.description.short": "Protect your API with a full-authentication process based on JWT",
|
||||
"plugin.description.long": "Protect your API with a full-authentication process based on JWT. This plugin comes also with an ACL strategy that allows you to manage the permissions between the groups of users.",
|
||||
|
||||
@ -110,6 +110,7 @@
|
||||
"notification.error.fetchUser": "Une erreur est survenue en esssayent de récupérer les users",
|
||||
"notification.info.emailSent": "L'email a été envoyé",
|
||||
"notification.success.delete": "L'élément a bien été supprimé",
|
||||
"notification.success.submit": "Les configurations ont bien été sauvegardés",
|
||||
|
||||
"plugin.description.short": "Protégez votre API avec un système d'authentification complet basé sur JWT",
|
||||
"plugin.description.long": "Protégez votre API avec un système d'authentification complet basé sur JWT (JSON Web Token). Ce plugin ajoute aussi une stratégie ACL (Access Control Layer) qui vous permet de gérer les permissions entre les groupes d'utilisateurs.",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user