mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Translate 'You are logged in!'
This commit is contained in:
parent
9291fbf013
commit
720eb5a2ca
@ -199,10 +199,7 @@ export default {
|
||||
methods: {
|
||||
sendValidation() {
|
||||
const { name, password, passwordConfirmation } = this.formData
|
||||
const {
|
||||
termsAndConditionsConfirmed,
|
||||
recieveCommunicationAsEmailsEtcConfirmed,
|
||||
} = this
|
||||
const { termsAndConditionsConfirmed, recieveCommunicationAsEmailsEtcConfirmed } = this
|
||||
|
||||
this.sliderData.setSliderValuesCallback(this.validInput, {
|
||||
collectedInputData: {
|
||||
@ -248,7 +245,7 @@ export default {
|
||||
this.response = 'success'
|
||||
setTimeout(async () => {
|
||||
await this.$store.dispatch('auth/login', { email, password })
|
||||
this.$toast.success('You are logged in!') // Wolle
|
||||
this.$toast.success(this.$t('login.success'))
|
||||
this.$router.push('/')
|
||||
this.sliderData.setSliderValuesCallback(null, {
|
||||
sliderSettings: { buttonLoading: false },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user