We want to add a 'Remember me' checkbox in the login form.
On checking the checkbox and submitting the form, we save the username and password in Cookies and we pre-fill when the user visits the login page next time.
But the page is cached with the cookie values and it's delivered to other users with the values.
It's major security threat.
How to achieve the feature without affecting other users?
However as I suspected it doesn't fully work with the media library module. The library shows uploaded media but it doesn't allow one to add new media.
Upon investigation is seems I may need to create the form by extending the class
I'm trying to set the title attribute of an image (multiple) field using hook node presave. I will ultimately be using the filename without the extension but for now I'd just like to get the title to set then I should be right to build that variable.
When using CKeditor Insert from media library all the previously uploaded images could be accessed from same place.
But when uploading the image throught the Insert image, same image later could not be seen under Insert media library.
Is it a normal behaviour?
Is there any option to configure Insert from image to have same location images as Insert from media library?
Where exactly I could configure those path locations for both features?