ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.01k stars 268 forks source link

Basic auth only - no zm auth - app goes to login on restart and says auth fails - app works #140

Closed abishai closed 8 years ago

abishai commented 8 years ago

I set up basic auth on apache side and disabled ZM internal one. I was able to add user:password@server in server url and it validates OK. However, on restart, zmNinja shows config windows like on the first run. If I hit Save button, it say 'Auth failed'. I can tap app button on the left and it starts normally after that.

I can work around the issue and put something in zmNinja login, however, ZM logs this as unsuccessfull login attempt.

pliablepixels commented 8 years ago

@abishai - I need debug logs - I just set up a dev server with only basic auth and no ZM auth. I don't see this issue even after app restarts. I don't have anything put into the auth for ZM either. I'm using desktop version.

abishai commented 8 years ago

version:1.0.2D

Jan 13, 2016 11:37:11 PM INFO https://login:password@observer.abinet.ru/zm is NOT reachable. Jan 13, 2016 11:37:11 PM INFO However, still doing a reachability check... Jan 13, 2016 11:37:11 PM INFO Authentication is disabled. Skipping login Jan 13, 2016 11:37:11 PM INFO Saving all parameters to storage