Add "register" to nav.

Add "register" to nav.You need to click "login" to find register, which is not convenient for people who are not familiar with the app.
This commit is contained in:
qianmengnet 2018-11-26 09:05:38 +08:00
parent b7915cc7b0
commit 3c796b1ae7

View File

@ -57,6 +57,9 @@
@endif
@if(!signedInUser())
<a href="{{ baseUrl('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
@if(setting('registration-enabled', false))
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
@endif
@endif
</div>
@if(signedInUser())