fallback to default avatar if email is not set
auth submodules are registered with initialized check if auth.local is loaded before accessing registration route check DB_URI before attempt to create db
This commit is contained in:
parent
e635be8961
commit
0b1c55f6a5
9 changed files with 24 additions and 11 deletions
|
@ -73,7 +73,7 @@
|
|||
</li>
|
||||
{% else %}
|
||||
<li><a href="{{ url_for('auth.login') }}"><i class="fa fa-user"></i> Login</a></li>
|
||||
{% if config.REGISTRATION_ENABLED %}
|
||||
{% if config.REGISTRATION_ENABLED and 'auth.local' in config.MODULES %}
|
||||
<li><a href="{{ url_for('auth.local.register') }}"><i class="fa fa-users"></i> Register</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue