]> BookStack Code Mirror - bookstack/blobdiff - resources/views/auth/forms/login/ldap.blade.php
Updated user interfaces for LDAP and added email from LDAP
[bookstack] / resources / views / auth / forms / login / ldap.blade.php
index eb0a3182fdff440736676fba13cc4014158c74aa..5230d43ca03086fde6fdab5c8ca925a0e2b4112c 100644 (file)
@@ -3,6 +3,16 @@
     @include('form/text', ['name' => 'username', 'tabindex' => 1])
 </div>
 
+@if(session('request-email', false) === true)
+    <div class="form-group">
+        <label for="email">Email</label>
+        @include('form/text', ['name' => 'email', 'tabindex' => 1])
+        <span class="text-neg">
+            Please enter an email to use for this account.
+        </span>
+    </div>
+@endif
+
 <div class="form-group">
     <label for="password">Password</label>
     @include('form/password', ['name' => 'password', 'tabindex' => 2])