mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-19 21:50:58 +02:00
Remove obsolete phrase during registration
This commit is contained in:
parent
7c2a9b8819
commit
7dc04d6158
@ -72,7 +72,7 @@
|
|||||||
.catch(error => {
|
.catch(error => {
|
||||||
if( error.response.status === 422 && error.response.data.errors.name ) {
|
if( error.response.status === 422 && error.response.data.errors.name ) {
|
||||||
|
|
||||||
this.$notify({ type: 'is-danger', text: this.$t('errors.already_one_user_registered') + ' ' + this.$t('errors.cannot_register_more_user'), duration:-1 })
|
this.$notify({ type: 'is-danger', text: this.$t('errors.cannot_register_more_user'), duration:-1 })
|
||||||
}
|
}
|
||||||
else if( error.response.status !== 422 ) {
|
else if( error.response.status !== 422 ) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user