fix SMTP configuration
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user