Merge branch 'feature/new-user-routes' into 'develop'
Make domain.com/username routes work Closes pleroma#395 See merge request pleroma/pleroma-fe!392
This commit is contained in:
commit
2f28bf95fd
32 changed files with 1778 additions and 728 deletions
|
@ -28,7 +28,7 @@ const registration = {
|
|||
},
|
||||
created () {
|
||||
if ((!this.registrationOpen && !this.token) || this.signedIn) {
|
||||
this.$router.push('/main/all')
|
||||
this.$router.push('/~/main/all')
|
||||
}
|
||||
|
||||
this.setCaptcha()
|
||||
|
@ -56,7 +56,7 @@ const registration = {
|
|||
if (!this.$v.$invalid) {
|
||||
try {
|
||||
await this.signUp(this.user)
|
||||
this.$router.push('/main/friends')
|
||||
this.$router.push('/~/main/friends')
|
||||
} catch (error) {
|
||||
console.warn('Registration failed: ' + error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue