lingthio / Flask-User

Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
http://flask-user.readthedocs.io/
MIT License
1.06k stars 292 forks source link

Change the copyright info to be variables #280

Closed DonFruendo closed 4 years ago

DonFruendo commented 5 years ago

Changed the flask_user_layout.html template to use variables from the user_manager_settings.py file instead of hardcoding "2014 MyCorp"

codecov-io commented 5 years ago

Codecov Report

Merging #280 into master will decrease coverage by 2.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
- Coverage   90.62%   88.57%   -2.05%     
==========================================
  Files          25       25              
  Lines        1450     1453       +3     
==========================================
- Hits         1314     1287      -27     
- Misses        136      166      +30
Impacted Files Coverage Δ
flask_user/user_manager__settings.py 100% <100%> (ø) :arrow_up:
flask_user/db_adapters/mongo_db_adapter.py 35% <0%> (-60%) :arrow_down:
flask_user/db_manager.py 82.81% <0%> (-4.69%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 86df689...e7d9754. Read the comment docs.

DonFruendo commented 5 years ago

So I added the USER_APP_VERSION variable to the user_settings to also be able to change this.