Added stashes with experimental row security policies. Added tag photos.

This commit is contained in:
DebaucheryLibrarian
2021-03-14 04:54:43 +01:00
parent 816529b0ca
commit e371e9725a
58 changed files with 610 additions and 172 deletions

View File

@@ -49,7 +49,7 @@ async function login() {
this.success = false;
try {
await this.$store.dispatch('login', {
const user = await this.$store.dispatch('login', {
username: this.username,
password: this.password,
});
@@ -57,7 +57,7 @@ async function login() {
this.success = true;
setTimeout(() => {
this.$router.replace(this.$route.query.ref || { name: 'home' });
this.$router.replace(this.$route.query.ref || { name: 'user', params: { username: user.username } });
}, 1000);
} catch (error) {
this.error = error.message;