diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-11 15:27:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-11 15:27:46 +0100 |
commit | dae5ca24b173aebd16de2a202ccd4088568b8dfb (patch) | |
tree | 29d07d765478776b7c3f91f40443be1acb561df9 /client/src/app/videos | |
parent | f481c4f9f31e897a08e818f388fecdee07f57142 (diff) | |
download | PeerTube-dae5ca24b173aebd16de2a202ccd4088568b8dfb.tar.gz PeerTube-dae5ca24b173aebd16de2a202ccd4088568b8dfb.tar.zst PeerTube-dae5ca24b173aebd16de2a202ccd4088568b8dfb.zip |
Redirect to the last url on login
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts index 6db0eb55d..7f582c950 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts | |||
@@ -135,7 +135,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { | |||
135 | 135 | ||
136 | gotoLogin () { | 136 | gotoLogin () { |
137 | this.hideVisitorModal() | 137 | this.hideVisitorModal() |
138 | this.authService.redirectUrl = this.router.url | ||
139 | this.router.navigate([ '/login' ]) | 138 | this.router.navigate([ '/login' ]) |
140 | } | 139 | } |
141 | 140 | ||