ZM login from email alert with ZM authentication

Forum for questions and support relating to the 1.28.x releases only.
Locked
hakpax
Posts: 2
Joined: Wed Nov 19, 2014 3:58 pm

ZM login from email alert with ZM authentication

Post by hakpax »

Hi,

Once I enabled ZM authentication I cannot access the event link that is provided in the alarm email/SMS notification.

I get the following:
ZoneMinder Error
You do not have permissions to access this resource.
Please contact your adminstrator for details.

Any idea if this can be fixed?
After clicking the link, I'd expect to be directed to the login page and once I enter correct user/pass I should see the event. This of course does not happen.

If I previously logged in ZM in the browser the link works but just as long as the the browsing session last.

Thanks!
carcachute
Posts: 38
Joined: Wed Jul 23, 2014 12:21 am

Re: ZM login from email alert with ZM authentication

Post by carcachute »

I posted on this a couple weeks ago and never heard anything back. I'd like this too, because it otherwise is rather clumsy to check events from e-mail.

It would be an easy fix if I had time to do it.
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZM login from email alert with ZM authentication

Post by knight-of-ni »

carcachute wrote:I posted on this a couple weeks ago and never heard anything back. I'd like this too, because it otherwise is rather clumsy to check events from e-mail.

It would be an easy fix if I had time to do it.
This is a great idea. However, we are in the same situation as you. We have far more work to do than people and time to do it. The quickest way to get this implemented would be to jump over to github and submit a pull request.

https://github.com/ZoneMinder/ZoneMinder
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
carcachute
Posts: 38
Joined: Wed Jul 23, 2014 12:21 am

Re: ZM login from email alert with ZM authentication

Post by carcachute »

Give me a week or two and I'll have it working.
carcachute
Posts: 38
Joined: Wed Jul 23, 2014 12:21 am

Re: ZM login from email alert with ZM authentication

Post by carcachute »

Pull request created--comments welcome.
hakpax
Posts: 2
Joined: Wed Nov 19, 2014 3:58 pm

Re: ZM login from email alert with ZM authentication

Post by hakpax »

I just fetched latest code from github.
it seems to be working well now.

Thanks a lot
Locked