#17 show warning if no primary mail is set

This commit is contained in:
Kekskurse 2019-04-30 14:35:40 +02:00
parent ecd0577ae2
commit c18ce8f443

View file

@ -80,3 +80,14 @@
<?php } ?> <?php } ?>
</div> </div>
</nav> </nav>
<?php
if(!is_null($user) && $user->getMail() == null) {
?>
<div class="row">
<div class="col-md-12">
<div class="alert alert-warning" role="alert">
Your E-Mail adress is not validated, please check your mails and click on the link to validate your E-Mail.
</div>
</div>
</div>
<?php } ?>