This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Web App Auth Templates - Any Examples?

Hi,

does anyone have any examples of Web App Auth Templates? 

We'd like to customise a login page but can't download the default template and are not sure about the functions that we need to include in the template form.

many thanks,

Tom



This thread was automatically locked due to age.
Parents
  • HI Tom , 

    You could not download the Default template but  could View it in Shell Access. 

    Here is what I have recovered , You could create your own HTML code as per the reference .


    <html>

    <head>
    <link rel="stylesheet" type="text/css" href="<?assets_path?>/default_stylesheet.css">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Login</title>
    </head>

    <body>
    <div id="container">

    <div class="info">
    <img src="<?company_logo?>" alt="">
    <p><?company_text?></p>
    </div>

    <form action="<?login_path?>" method="POST">
    <p><label for="httpd_username">Username:</label> <input name="httpd_username" type="text"></p>
    <p><label for="httpd_password">Password:</label> <input name="httpd_password" type="password"></p>
    <p><input type="submit" value="Login"></p>
    </form>

    <div class="note">
    If you encounter any problems or questions, please contact <b><?admin_contact?></b>.
    </div>

    </div>
    </body>

    </html>

    Thanks and Regrads 

    Aditya Patel  | Network and Security Engineer.

    Regards,

    Aditya Patel
    Global Escalation Support Engineer | Sophos Technical Support

    Knowledge Base  |  @SophosSupport | Sign up for SMS Alerts
    If a post solves your question use the 'This helped me' link.

Reply
  • HI Tom , 

    You could not download the Default template but  could View it in Shell Access. 

    Here is what I have recovered , You could create your own HTML code as per the reference .


    <html>

    <head>
    <link rel="stylesheet" type="text/css" href="<?assets_path?>/default_stylesheet.css">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Login</title>
    </head>

    <body>
    <div id="container">

    <div class="info">
    <img src="<?company_logo?>" alt="">
    <p><?company_text?></p>
    </div>

    <form action="<?login_path?>" method="POST">
    <p><label for="httpd_username">Username:</label> <input name="httpd_username" type="text"></p>
    <p><label for="httpd_password">Password:</label> <input name="httpd_password" type="password"></p>
    <p><input type="submit" value="Login"></p>
    </form>

    <div class="note">
    If you encounter any problems or questions, please contact <b><?admin_contact?></b>.
    </div>

    </div>
    </body>

    </html>

    Thanks and Regrads 

    Aditya Patel  | Network and Security Engineer.

    Regards,

    Aditya Patel
    Global Escalation Support Engineer | Sophos Technical Support

    Knowledge Base  |  @SophosSupport | Sign up for SMS Alerts
    If a post solves your question use the 'This helped me' link.

Children