AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

CustomizeUser Keeps resetting what is going on

Open JoshWho opened this issue 2 years ago • 1 comments

All my settings keep getting reset every day. What is going on with this?

JoshWho avatar Aug 10 '22 01:08 JoshWho

There has to be a way to make this read only PLEASE

JoshWho avatar Aug 10 '22 01:08 JoshWho

there is no way to make it read-only

you must pay attention to what you are adding to this plugin.

if for some reason the JSON cannot be decoded it will reset the plugin

Be careful with the text areas

image

try to change all you need except the text areas. and then see if it will reset again

DanielnetoDotCom avatar Aug 10 '22 21:08 DanielnetoDotCom

If you look at my site right now. I do not have anything set in there that will cause this. Come back tomorrow and you will see it reset again.

JoshWho avatar Aug 10 '22 22:08 JoshWho

So far hasn't changed yet. Not sure if it is fixed or not but will keep an eye out for a few more days.

JoshWho avatar Aug 12 '22 04:08 JoshWho

Hope you don't mind my jumping in on this thread, not sure if It's linked, but currently on our server since the recent couple of updates, when users log in, it resets their 'Name' back to their email address. They change it, and it resets again once they log back in. This is with the LoginLDAP plugin specifically. It doesn't create a new user or change their videos, just resets their name back to there email address. This is all that appears in the log:

[14-Aug-2022 17:50:50 Europe/London] AVideoLog::DEBUG: CustomizeUser::userMustBeLoggedIn basename: index.php SCRIPT_NAME: /streamer/view/index.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not encoded pass SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not found SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old encoded pass SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not found SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: loginFromRequest NOT FOUND redactedusername SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php

JSY-Ben avatar Aug 14 '22 16:08 JSY-Ben

Hope you don't mind my jumping in on this thread, not sure if It's linked, but currently on our server since the recent couple of updates, when users log in, it resets their 'Name' back to their email address. They change it, and it resets again once they log back in. This is with the LoginLDAP plugin specifically. It doesn't create a new user or change their videos, just resets their name back to there email address. This is all that appears in the log:

[14-Aug-2022 17:50:50 Europe/London] AVideoLog::DEBUG: CustomizeUser::userMustBeLoggedIn basename: index.php SCRIPT_NAME: /streamer/view/index.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not encoded pass SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not found SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old encoded pass SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: Password check Old not found SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php [14-Aug-2022 17:50:53 Europe/London] AVideoLog::DEBUG: loginFromRequest NOT FOUND redactedusername SCRIPT_NAME: /streamer/plugin/LoginLDAP/view/login.json.php

Yes that is the same issue. Still not sure exactly what is causing it.

JoshWho avatar Aug 14 '22 21:08 JoshWho

@JSY-Ben the LoginLdap may reset their credentials.

if it is authenticated on the LDAP, all the user info will be updated. the only valid and permanent info is the one stored on the LDAP

@JoshWho I do not think your issue has something to do with @JSY-Ben issue

DanielnetoDotCom avatar Aug 15 '22 13:08 DanielnetoDotCom

@JSY-Ben the LoginLdap may reset their credentials.

if it is authenticated on the LDAP, all the user info will be updated. the only valid and permanent info is the one stored on the LDAP

@JoshWho I do not think your issue has something to do with @JSY-Ben issue

Hi Daniel. Thanks for the reply.

In the past, the name has stayed the same, it's only recently it has been reset. Is there any way in the config to grab the User's Full Name from the LDAP database (in this case Active Directory)

JSY-Ben avatar Aug 15 '22 13:08 JSY-Ben

Currently no. to make this change I will need to see exactly what is your LDAP response.

DanielnetoDotCom avatar Aug 15 '22 13:08 DanielnetoDotCom

I haven't had any changes happen since the last time. Not sure what was causing it but it seems to have stopped. I will close this for now.

JoshWho avatar Aug 16 '22 18:08 JoshWho