How to inherit login page controller?

How to inherit login page controller,so that i can add “remember me” functionality on login controller.

Hi @Anchal_Saxena,

First, create a custom app.

You will find a file called Open it and add the following code:

app_include_js = [

Create a JavaScript file like custom_login.js inside the custom_app_name/custom_app_name/public/js directory.
Please add your code according to the scenario.

frappe.pages['login'].on_page_load = function(wrapper) {
 	// add remember me related code

We haven’t an idea of its work, but we share the flow and syntax.

I hope this helps.
Thank You!

@NCP Thank You