[gnome-web-www] SSH key is required only for new applicants



commit 5d307fbebdd3bfb27aa7ca4e8af12beefafc832d
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Jun 6 14:24:13 2019 +0200

    SSH key is required only for new applicants

 theme/page-apply.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index 13e2ff5..125a22e 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -25,7 +25,7 @@ if (array_key_exists('submit', $_POST)) {
         $errors = true;
     }
 
-    if ($full_name == "" || $email == "" || $summary == "" || $ssh_key == "") {
+    if ($full_name == "" || $email == "" || $summary == "") {
         $errors = true;
     }
 
@@ -126,7 +126,7 @@ if (array_key_exists('submit', $_POST)) {
 
 <div class="item">
     <label for="email">SSH public key</label>
-    <input name="sshkey" id="sshkey" type="text" value="<?php echo htmlspecialchars($sshkey);?>">
+    <input name="sshkey" id="sshkey" type="text" placeholder="Required only for new applications" 
value="<?php echo htmlspecialchars($sshkey);?>">
 </div>
 
 <h3>Benefits</h3>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]