Skip to content

Commit

Permalink
Force students to give a name
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 5, 2014
1 parent 2b90227 commit f3d4605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kinza/lib/Kinza.pm
Expand Up @@ -170,7 +170,7 @@ post '/register' => sub {
if ($now le $live) {
return template 'comingsoon';
}
unless (param('email')
unless (param('name') and param('email')
and param('password') and param('password2')) {
session 'error' => 'You must fill in all values';
return redirect '/register';
Expand Down

0 comments on commit f3d4605

Please sign in to comment.