Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better error output.

  • Loading branch information...
commit b6edd38f40e7fa0f9938370166bbe96e23f5a0dc 1 parent ee20983
@philsturgeon philsturgeon authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 views/register.php
View
4 views/register.php
@@ -1,7 +1,7 @@
<?php echo Form::open(null, array('id' => 'register')); ?>
- <?php if (Session::get_flash('ninjauth.error')): ?>
- <span class="error"><?php echo Session::get_flash('ninjauth.error'); ?></span>
+ <?php if (isset($error)): ?>
+ <span class="error"><?php echo $error; ?></span>
<?php endif; ?>
<p>
Please sign in to comment.
Something went wrong with that request. Please try again.