anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

Disable access to login page when already logged in #126

Closed anselal closed 5 years ago

anselal commented 5 years ago

There is no reason for the login page to be accessible when the user is already logged in. To fix this, check in the user.login blueprint if the user is already logged in and if so redirect to the main page.