[Rt-commit] r19982 - rt/3.999/trunk/lib/RT
sartak at bestpractical.com
sartak at bestpractical.com
Tue Jun 16 00:37:20 EDT 2009
Author: sartak
Date: Tue Jun 16 00:37:19 2009
New Revision: 19982
Modified:
rt/3.999/trunk/lib/RT/Dispatcher.pm
Log:
Require login after setup is finished
Modified: rt/3.999/trunk/lib/RT/Dispatcher.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Dispatcher.pm (original)
+++ rt/3.999/trunk/lib/RT/Dispatcher.pm Tue Jun 16 00:37:19 2009
@@ -161,6 +161,14 @@
show '/__jifty/admin/setupwizard';
}
+
+ # Make them log in first, otherwise they'll appear to be logged in
+ # for one click as RT_System
+ # Instead of this, we may want to log them in automatically as the
+ # root user as a convenience
+ tangent '/login' if !Jifty->web->current_user->id
+ || Jifty->web->current_user->id == RT->system_user->id;
+
show '/index.html';
};
More information about the Rt-commit
mailing list