fix SMTP configuration

This commit is contained in:
lesion
2022-07-18 10:05:59 +02:00
parent 9e86a9399b
commit 92c676622d
9 changed files with 16 additions and 30 deletions

View File

@@ -66,7 +66,7 @@ export default {
const user = await this.$axios.$post('/user/register', this.user)
// this is the first user registered
const first_user = user && user.is_admin && user.is_active
this.$root.$message(first_user ? 'register.first_user': 'register.complete')
this.$root.$message(first_user ? 'register.first_user': 'register.complete', { color: 'success' })
this.$router.replace('/')
} catch (e) {
const error = get(e, 'response.data.errors[0].message', String(e))