<commit_before><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.org/schema/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                template="/WEB-INF/incl/layout/login-template.xhtml">

    <ui:define name="head">
          <meta name="description" content="Gluu Inc." />

     </ui:define>
     
     <ui:define name="pageTitle">
        <h:outputText value="#{messages['login.pageTitle']}"/>
    </ui:define>
    
 <ui:define name="body">
          <header>
               <div class="container">
                    <div id="header" class="row-fluid">
                         <div class="logo span2">
                         <ui:param name="client"
                                 value="#{clientService.getClient(sessionAttributes['client_id'])}"/>

                              <s:div rendered='#{!empty client.getLogoUri()}'>
                                   <h:graphicImage url='#{client.getLogoUri()}'/>
                              </s:div>
                               <s:div rendered='#{empty client.getLogoUri()}'>
                               	<a href="http://www.gluu.org/">
                                    <h:graphicImage url="img/logo.png" />
                                </a>
                              </s:div>
                         </div><!-- end logo-->

                         <div class="login span4 offset6">
                         Need a Gluu account?                         
                         <a class="register,need-account" href="../identity/register?redirectUri=https://support.gluu.org">Sign Up!</a>
                       	                        	 
                        </div>
                    </div>
               </div>

          </header>
          <!-- end header-->
          <div class="container">
               <div id="content" class="sign-in-page">
		        <div class="row-fluid">
			       <h:form id="loginForm" class="signin-form span6 offset3">
			        <h:panelGroup rendered="#{not identity.loggedIn}">
				      <div class="inner-form-container row-fluid">
								<ul class="offset2 span10">

									<s:token allowMultiplePosts="true" />
									<h:messages style="color:red;" />
									<div class="row-fluid">
										<span class="input-name span3"> <h:outputLabel
												for="username" value="#{messages['login.username']}" />
										</span>

										<div class="span6">
											<h:inputText id="username" value="#{credentials.username}"
												autocomplete="off" />
										</div><commit_msg>- replaced hard coded redirectUri value, from ../identity/register URI, with gluu server context root<commit_after><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.org/schema/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                template="/WEB-INF/incl/layout/login-template.xhtml">

    <ui:define name="head">
          <meta name="description" content="Gluu Inc." />

     </ui:define>
     
     <ui:define name="pageTitle">
        <h:outputText value="#{messages['login.pageTitle']}"/>
    </ui:define>
    
 <ui:define name="body">
          <header>
               <div class="container">
                    <div id="header" class="row-fluid">
                         <div class="logo span2">
                         <ui:param name="client"
                                 value="#{clientService.getClient(sessionAttributes['client_id'])}"/>

                              <s:div rendered='#{!empty client.getLogoUri()}'>
                                   <h:graphicImage url='#{client.getLogoUri()}'/>
                              </s:div>
                               <s:div rendered='#{empty client.getLogoUri()}'>
                               	<a href="http://www.gluu.org/">
                                    <h:graphicImage url="img/logo.png" />
                                </a>
                              </s:div>
                         </div><!-- end logo-->

                         <div class="login span4 offset6">
							 Need a Gluu account?
							 <a class="register,need-account"
								href="#{'../identity/register?redirectUri='.concat(request.getRequestURL().toString().substring(0, request.getRequestURL().toString().length() - request.getRequestURI().length()))}">Sign Up!
							 </a>
                       	                        	 
                        </div>
                    </div>
               </div>

          </header>
          <!-- end header-->
          <div class="container">
               <div id="content" class="sign-in-page">
		        <div class="row-fluid">
			       <h:form id="loginForm" class="signin-form span6 offset3">
			        <h:panelGroup rendered="#{not identity.loggedIn}">
				      <div class="inner-form-container row-fluid">
								<ul class="offset2 span10">

									<s:token allowMultiplePosts="true" />
									<h:messages style="color:red;" />
									<div class="row-fluid">
										<span class="input-name span3"> <h:outputLabel
												for="username" value="#{messages['login.username']}" />
										</span>

										<div class="span6">
											<h:inputText id="username" value="#{credentials.username}"
												autocomplete="off" />
										</div>
{'fraction_non_alphanumeric': 0.15757364476207078, 'fraction_numerical': 0.007495206553948057, 'mean_word_length': 1.4479522184300342, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 1, 'lorem ipsum': 0, 'www.': 6, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3203116', 'n_tokens_mistral': 1888, 'n_tokens_neox': 1545, 'n_words': 249}