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: {
|
methods: {
|
||||||
sendValidation() {
|
sendValidation() {
|
||||||
const { name, password, passwordConfirmation } = this.formData
|
const { name, password, passwordConfirmation } = this.formData
|
||||||
const {
|
const { termsAndConditionsConfirmed, recieveCommunicationAsEmailsEtcConfirmed } = this
|
||||||
termsAndConditionsConfirmed,
|
|
||||||
recieveCommunicationAsEmailsEtcConfirmed,
|
|
||||||
} = this
|
|
||||||
|
|
||||||
this.sliderData.setSliderValuesCallback(this.validInput, {
|
this.sliderData.setSliderValuesCallback(this.validInput, {
|
||||||
collectedInputData: {
|
collectedInputData: {
|
||||||
@ -248,7 +245,7 @@ export default {
|
|||||||
this.response = 'success'
|
this.response = 'success'
|
||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
await this.$store.dispatch('auth/login', { email, password })
|
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.$router.push('/')
|
||||||
this.sliderData.setSliderValuesCallback(null, {
|
this.sliderData.setSliderValuesCallback(null, {
|
||||||
sliderSettings: { buttonLoading: false },
|
sliderSettings: { buttonLoading: false },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user