xosadmin / c5proj

“歡迎來到冒險家協會!Welcome to the Adventurers Guild! “
GNU General Public License v3.0
0 stars 0 forks source link

Forgetpassword is accessible while logged in #54

Closed Phyo09 closed 4 months ago

Phyo09 commented 4 months ago

forgetpassword page,

I am currently logged in but the page is accessible and shown with Home, Login, Sign Up navigation bar (which is for logged out). Can we put current_user.is_authenticated for forgotpassword as well?

Phyo09 commented 4 months ago

Updated with Jinja2 or base.html for the navigation bar. (See Phyo_branch for demo).

However, current_user.is_authenticated is not implemented yet. Waiting for replies from teammates.

FYI, it does not make sense for the user to change the password through forget password page. Since the user is logged in, he should change through modify center.

xosadmin commented 4 months ago

Fixed on the commit #16fd472