aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-28 08:47:17 +0100
committerChocobozzz <me@florianbigard.com>2019-10-28 08:47:17 +0100
commitf003ef1b54c3eedcc722e00c6a526f2368dd5885 (patch)
treee33d398c943576bd71636272be19bec07fa38877
parentf67d757452c63fff27df596b575ae1ca9225a1a0 (diff)
downloadPeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.tar.gz
PeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.tar.zst
PeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.zip
Don't redirect on verify account page after login
-rw-r--r--client/src/app/core/routing/redirect.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/core/routing/redirect.service.ts b/client/src/app/core/routing/redirect.service.ts
index 571822b76..43b89f08d 100644
--- a/client/src/app/core/routing/redirect.service.ts
+++ b/client/src/app/core/routing/redirect.service.ts
@@ -43,7 +43,8 @@ export class RedirectService {
43 43
44 redirectToPreviousRoute () { 44 redirectToPreviousRoute () {
45 const exceptions = [ 45 const exceptions = [
46 '/verify-account' 46 '/verify-account',
47 '/reset-password'
47 ] 48 ]
48 49
49 if (this.previousUrl) { 50 if (this.previousUrl) {