diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-28 08:47:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-28 08:47:17 +0100 |
commit | f003ef1b54c3eedcc722e00c6a526f2368dd5885 (patch) | |
tree | e33d398c943576bd71636272be19bec07fa38877 /client | |
parent | f67d757452c63fff27df596b575ae1ca9225a1a0 (diff) | |
download | PeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.tar.gz PeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.tar.zst PeerTube-f003ef1b54c3eedcc722e00c6a526f2368dd5885.zip |
Don't redirect on verify account page after login
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/core/routing/redirect.service.ts | 3 |
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) { |