You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/03 14:01:58 UTC

[jira] [Commented] (TC-22) Redirected to invalid login page when credential expires

    [ https://issues.apache.org/jira/browse/TC-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632793#comment-15632793 ] 

ASF GitHub Bot commented on TC-22:
----------------------------------

GitHub user smalenfant opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/39

    TC-22 Fix login page redirect

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/smalenfant/incubator-trafficcontrol sm-to-login-redirect

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/39.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #39
    
----
commit 4a98a1cbbc248763e590d22e78e797c166bdbfe9
Author: smalenfa <sm...@apache.org>
Date:   2016-11-03T13:21:09Z

    TC-22 Fix login page redirect

----


> Redirected to invalid login page when credential expires
> --------------------------------------------------------
>
>                 Key: TC-22
>                 URL: https://issues.apache.org/jira/browse/TC-22
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 1.8.0
>            Reporter: Steve Malenfant
>            Assignee: Steve Malenfant
>            Priority: Minor
>              Labels: easyfix, newbie
>             Fix For: 1.8.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The redirected page doesn't exist, need to be changed to /loginpage
> if ( !defined( $self->current_user() ) ) {
>   return $self->redirect_to('/login.html');
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)