Permalink
Browse files

Better error output.

  • Loading branch information...
Phil Sturgeon
Phil Sturgeon committed May 4, 2012
1 parent ee20983 commit b6edd38f40e7fa0f9938370166bbe96e23f5a0dc
Showing with 2 additions and 2 deletions.
  1. +2 −2 views/register.php
View
@@ -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>

0 comments on commit b6edd38

Please sign in to comment.