fix: pwd change in setttings (#147)

This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin) 2024-08-29 13:41:12 +07:00 committed by GitHub
parent 971ffcc9d0
commit d880294153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,7 +229,7 @@ class SettingsPage(BasePage):
self.password_change_btn = gr.Button("Change password", interactive=True)
def change_password(self, user_id, password, password_confirm):
from ktem.pages.admin.user import validate_password
from ktem.pages.resources.user import validate_password
errors = validate_password(password, password_confirm)
if errors: