From: GitHub <no...@gi...> - 2013-09-29 00:24:55
|
Branch: refs/heads/upstream-master-1.2.x Home: https://github.com/mantisbt/mantisbt Commit: 930c6c3e767666d4c5b58f40c80f2a75aca39aec https://github.com/mantisbt/mantisbt/commit/930c6c3e767666d4c5b58f40c80f2a75aca39aec Author: Victor Boctor <vb...@gm...> Date: 2013-09-28 (Sat, 28 Sep 2013) Changed paths: M admin/install.php M core/project_api.php M login_cookie_test.php Log Message: ----------- Fixes #16416: Improve first login experience by auto-redirecting to create project page. If MantisBT is pre-installed, the user lands in My View Page without knowing what to do. We should handle the "first login" experience in MantisBT itself rather than the installation and provide a helpful getting started over time. For now, we should start with auto-redirecting to create project page if user is administrator and there aren't at least 1 project in the database. The cost of this check is one cheap query on the projects table that returns 0 or 1 entries which is only run at login of an administrator. |