"Fossies" - the Fresh Open Source Software Archive

Member "LinOTP-release-2.10.5.2/linotpd/src/linotp/templates/auth3.mako" (13 May 2019, 2208 Bytes) of package /linux/misc/LinOTP-release-2.10.5.2.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # -*- coding: utf-8 -*-
    2 <%doc>
    3  *
    4  *   LinOTP - the open source solution for two factor authentication
    5  *   Copyright (C) 2010 - 2019 KeyIdentity GmbH
    6  *
    7  *   This file is part of LinOTP server.
    8  *
    9  *   This program is free software: you can redistribute it and/or
   10  *   modify it under the terms of the GNU Affero General Public
   11  *   License, version 3, as published by the Free Software Foundation.
   12  *
   13  *   This program is distributed in the hope that it will be useful,
   14  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
   15  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16  *   GNU Affero General Public License for more details.
   17  *
   18  *   You should have received a copy of the
   19  *              GNU Affero General Public License
   20  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21  *
   22  *
   23  *    E-mail: linotp@keyidentity.com
   24  *    Contact: www.linotp.org
   25  *    Support: www.keyidentity.com
   26  *
   27 </%doc>
   28 
   29 <%block name="title">
   30         <title>LinOTP Auth testing</title>
   31 </%block>
   32 
   33 <%inherit file="auth-base.mako"/>
   34 
   35 <div id="sidebar">
   36 <p>
   37 ${_("Here you may try to authenticate using your OTP token.")}
   38 </p>
   39 <p>
   40 ${_("Enter your username, the OTP PIN (Password) and the OTP value.")}
   41 </p>
   42 </div> <!-- sidebar -->
   43 
   44 
   45 <div id="main">
   46 <h1>${_("Login")}</h1>
   47 <div id='register'>
   48         <form class="cmxform"  id="form_login3" method="post" action="">
   49             <frameset name=login>
   50                 <table>
   51                 <tr>
   52                     <td>${_("username")}</td>
   53                     <td><input type='text' id='user3' name="user"  class="required"></td>
   54                 </tr>
   55                 <tr>
   56                     <td>${_("OTP PIN")}</td>
   57                     <td><input type="password" autocomplete="off" name="pass" id="pass3"></td>
   58                 </tr>
   59                 <tr>
   60                     <td>${_("OTP value")}</td>
   61                     <td><input type="text" autocomplete="off" name="otp" id="otp3"></td>
   62                 </tr>
   63                 </table>
   64             </frameset>
   65             <input type="submit" value="${_('login')}">
   66         </form>
   67 </div>
   68 <div id='errorDiv'></div>
   69 <div id='successDiv'></div>
   70 
   71 
   72 </div>  <!-- end of main-->
   73