Browse files

Merge branch 'master' of github.com:londonhackspace/hackspace-foundat…

…ion-sites
  • Loading branch information...
2 parents a943565 + 12b451d commit 217f146f4fb518844df18af559fefa6072c59688 @marksteward marksteward committed Nov 8, 2011
View
4 hackspace.org.uk/index.php
@@ -25,8 +25,8 @@
<li><a href="http://www.southackton.org.uk/">SoutHACKton (Southampton)</a></li>
<li><a href="http://groups.google.com/group/york-hack-space">York Hackspace</a></li>
<li><a href="http://hacman.org.uk">HACMan (Manchester)</a></li>
- <li><a href="http://groups.google.com/group/brightonhackerspace">BuildBrighton (Brighton)</a></li>
- <li><a href="http://www.geekchique.org/wiki">E-Space (Exeter)</a></li>
+ <li><a href="http://www.buildbrighton.com">BuildBrighton (Brighton)</a></li>
+ <li><a href="http://www.e-spaceproject.org">E-Space (Exeter)</a></li>
<li><a href="http://groups.google.com/group/salop-hackspace">Shropshire Hackspace</a></li>
<li><a href="http://madlab.org.uk">Madlab (Manchester)</a></li>
<li><a href="http://www.nottinghack.org.uk">Nottingham Hackspace</a></li>
View
2 london.hackspace.org.uk/login.php
@@ -16,7 +16,7 @@
$validator->validate();
- $users = fRecordSet::build('User', array('email=' => $_POST['email']));
+ $users = fRecordSet::build('User', array('email=' => strtolower($_POST['email'])));
if ($users->count() == 0) {
throw new fValidationException('Invalid username or password.');
}
View
2 london.hackspace.org.uk/members/addcard.php
@@ -41,4 +41,4 @@
</table>
</form>
-require('../footer.php'); ?>
+<?php require('../footer.php'); ?>
View
2 london.hackspace.org.uk/members/edit.php
@@ -25,7 +25,7 @@
$user->setPassword(fCryptography::hashPassword($_POST['newpassword']));
}
- $user->setEmail($_POST['email']);
+ $user->setEmail(strtolower($_POST['email']));
$user->setFullName($_POST['fullname']);
$user->setAddress($_POST['address']);
$user->setSubscriptionPeriod($_POST['length']);
View
2 london.hackspace.org.uk/signup.php
@@ -21,7 +21,7 @@
}
$user = new User();
- $user->setEmail($_POST['email']);
+ $user->setEmail(strtolower($_POST['email']));
$user->setFullName($_POST['fullname']);
$user->setAddress($_POST['address']);
$user->setPassword(fCryptography::hashPassword($_POST['password']));

0 comments on commit 217f146

Please sign in to comment.