Announcement

Collapse
No announcement yet.

Customize Login Page Not Working

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Customize Login Page Not Working

    Dear All,

    I created a login page using a control module by using an external HTML template and copy over all the event code from my existing login page (created using a security module). The new login page that i created not function as my previous login page, and i enable the debug mode found that the parameter not passing. Can anyone advise me on this? I create this new login page is because i want using bootstrap responsive layout.

    login (login page created using control)
    (pdo-mysql): SELECT sc_session FROM sec_logged WHERE login = 'admin' AND date_login = '1557479796.4874' AND sc_session <> '_SC_FAIL_SC_'
    (pdo-mysql): DELETE FROM sec_logged WHERE login = 'admin' AND date_login = '1557479796.4874'
    (pdo-mysql): SELECT count(*) FROM sec_logged WHERE sc_session = '_SC_BLOCKED_SC_' AND ip = '::1' AND date_login > '1557479197'
    (pdo-mysql): SELECT count(*) FROM sec_logged WHERE sc_session = '_SC_FAIL_SC_' AND ip = '::1' AND date_login > '1557479197'
    (pdo-mysql): SELECT priv_admin, active, name, email FROM sec_users WHERE login = '' AND pswd = 'd41d8cd98f00b204e9800998ecf8427e'
    (pdo-mysql): INSERT INTO sc_log (inserted_date, username, application, creator, ip_user, action, description) VALUES ('2019-05-10 17:16:37', '', 'app_Login', 'User', '::1', 'login Fail', 'Someone tried to login with the User')
    (pdo-mysql): INSERT INTO sec_logged(login, date_login, sc_session, ip) VALUES ('', '1557479797.3195', '_SC_FAIL_SC_', '::1')

    login2 (Login page created using security module)
    (pdo-mysql): SELECT sc_session FROM sec_logged WHERE login = '' AND sc_session <> '_SC_FAIL_SC_'
    (pdo-mysql): DELETE FROM sec_logged WHERE login = ''
    (pdo-mysql): SELECT count(*) FROM sec_logged WHERE sc_session = '_SC_BLOCKED_SC_' AND ip = '::1' AND date_login > '1557479241'
    (pdo-mysql): SELECT count(*) FROM sec_logged WHERE sc_session = '_SC_FAIL_SC_' AND ip = '::1' AND date_login > '1557479241'
    (pdo-mysql): SELECT priv_admin, active, name, email FROM sec_users WHERE login = 'admin' AND pswd = '21232f297a57a5a743894a0e4a801fc3'
    (pdo-mysql): SELECT description FROM sec_groups WHERE group_id IN (SELECT group_id FROM sec_users_groups WHERE login = 'admin')
    (pdo-mysql): SELECT app_name, priv_access, priv_insert, priv_delete, priv_update, priv_export, priv_print FROM sec_groups_apps WHERE group_id IN (SELECT group_id FROM sec_users_groups WHERE login = 'admin')
    (pdo-mysql): SELECT date_login, ip FROM sec_logged WHERE login = 'admin' AND sc_session <> '_SC_FAIL_SC_'
    (pdo-mysql): DELETE FROM sec_logged WHERE login = 'admin' AND sc_session = '_SC_FAIL_SC_' AND ip = '::1'
    (pdo-mysql): INSERT INTO sec_logged(login, date_login, sc_session, ip) VALUES ('admin', '1557479841.2419', 'r2qva1c5h4eu0d4lrhhthjlvj6', '::1')
    (pdo-mysql): INSERT INTO sc_log (inserted_date, username, application, creator, ip_user, action, description) VALUES ('2019-05-10 17:17:21', 'admin', 'app2_Login', 'User', '::1', 'login', 'Successfully logged into the system!')


    HTML Code

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <!--SC_PAGE_CHARSET-->
    <title><!--SC_PAGE_TITLE-->Mech Track Login</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--================================================== =============================================-->
    <link rel="icon" type="image/png" href="{SC_LIB_PROJECT}/login/images/icons/favicon.ico"/>
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/bootstrap/css/bootstrap.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/animate/animate.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/css-hamburgers/hamburgers.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/animsition/css/animsition.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/select2/select2.min.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/vendor/daterangepicker/daterangepicker.css">
    <!--================================================== =============================================-->
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/css/util.css">
    <link rel="stylesheet" type="text/css" href="{SC_LIB_PROJECT}/login/css/main.css">
    <!--================================================== =============================================-->
    </head>
    <body>

    <div class="limiter">
    <div class="container-login100">
    <div class="wrap-login100 p-t-50 p-b-90">
    <form class="login100-form validate-form flex-c flex-w" action="" {SC_FORM_ATTR}>
    <!--SC_FORM_HIDDEN-->
    <span class="login100-form-title p-b-51">
    Welcome
    </span>


    <div class="wrap-input100 validate-input m-b-16" data-validate = "Username is required">
    <input class="input100 {SC_FIELD_CLASS}" type="text" name="username" placeholder="Username" {SC_FIELD_INFO_login}>
    <span class="focus-input100"></span>
    </div>


    <div class="wrap-input100 validate-input m-b-16" data-validate = "Password is required">
    <input class="input100 {SC_FIELD_CLASS}" type="password" name="pass" placeholder="Password" {SC_FIELD_INFO_pswd}>
    <span class="focus-input100"></span>
    </div>

    <!--SC_FORM_SUBMIT_CALL-->
    <div class="container-login100-form-btn m-t-17">
    <INPUT class="login100-form-btn" type="submit" Value="Login" {SC_FORM_SUBMIT_CALL} />
    </div>

    </form>
    </div>
    </div>
    </div>


    <div id="dropDownSelect1"></div>
    <!--SC_JS_LIB-->
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/jquery/jquery-3.2.1.min.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/animsition/js/animsition.min.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/bootstrap/js/popper.js"></script>
    <script src="{SC_LIB_PROJECT}/login/vendor/bootstrap/js/bootstrap.min.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/select2/select2.min.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/daterangepicker/moment.min.js"></script>
    <script src="{SC_LIB_PROJECT}/login/vendor/daterangepicker/daterangepicker.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/vendor/countdowntime/countdowntime.js"></script>
    <!--================================================== =============================================-->
    <script src="{SC_LIB_PROJECT}/login/js/main.js"></script>

    </body>
    </html>
Working...
X