You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the webinterface on my local machine (so not the PiFinder itself), I can not log in anymore... I get the error
Traceback (most recent call last):
File "/home/wim/micromamba/envs/pifinder/lib/python3.9/site-packages/bottle.py", line 876, in _handle
return route.call(args)
File "/home/wim/micromamba/envs/pifinder/lib/python3.9/site-packages/bottle.py", line 1759, in wrapper
rv = callback(*a, ka)
File "/mnt/c/Users/u0035065/GitHub/PiFinder/python/PiFinder/server.py", line 149, in login
if sys_utils.verify_password("pifinder", password):
File "/mnt/c/Users/u0035065/GitHub/PiFinder/python/PiFinder/sys_utils.py", line 290, in verify_password
"""
NameError: name 'su' is not defined
This can be fixed easily by adding the following 2 lines at line 290 of sys_utils.py:
if not REAL_SYS_UTILS:
return True
The text was updated successfully, but these errors were encountered:
When running the webinterface on my local machine (so not the PiFinder itself), I can not log in anymore... I get the error
This can be fixed easily by adding the following 2 lines at line 290 of sys_utils.py:
The text was updated successfully, but these errors were encountered: