[Bps-public-commit] RT-Authen-PAUSE branch, master, updated. 0069b6a2854c09d1cce86ff835a02ff3e62bcf36

Thomas Sibley trs at bestpractical.com
Fri Feb 22 18:24:13 EST 2013


The branch, master has been updated
       via  0069b6a2854c09d1cce86ff835a02ff3e62bcf36 (commit)
      from  69aa27942027bb83eda1ea0d136bef6c034aa610 (commit)

Summary of changes:
 html/Callbacks/PAUSE/autohandler/Session | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 0069b6a2854c09d1cce86ff835a02ff3e62bcf36
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Feb 22 15:24:05 2013 -0800

    ROOT is a valid PAUSE account; allow it to auth
    
    We switched RT's local superuser to root at localhost a while ago.

diff --git a/html/Callbacks/PAUSE/autohandler/Session b/html/Callbacks/PAUSE/autohandler/Session
index 370f764..ee3c22e 100644
--- a/html/Callbacks/PAUSE/autohandler/Session
+++ b/html/Callbacks/PAUSE/autohandler/Session
@@ -10,8 +10,8 @@ use HTTP::Request;
 return if $session{'CurrentUser'} and $session{'CurrentUser'}->Id;
 # no credentials
 return unless defined $user && defined $pass;
-# we don't auth root
-return if lc $user eq 'root';
+# we don't auth root at localhost, which should be the local RT root
+return if lc $user eq 'root at localhost';
 
 $user = uc $user;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list