Shopify - Forgot password / reset password not working - shopify

I'm trying to add a Forgot/Reset Password link to my Shopify page.
I tried this:
reset
But /account/login#recover link brings me to the login page instead of to Forgot/Reset Password page.
What is the right URL for going directly to Forgot/Reset Password page?

Yes, it is correct url which one you are using. Actually forgot password form is also on the same page as login. It is hiding and showing Login/Forgot-Password based on url parameters.

Related

How to create own login form in Joomla and how to create redirect file after login

I want to create my own login form. After user login , it will redirect to the mainpage which is same page when use default login form in Joomla in template. The problem is, i want to display the page by using my own login form. not use Joomla login form in template. How to create the login form then display on Joomla template? using php? I hope you can help me. I appreciate that.
You will need to override the components/com_users/views/login view in order to modify the look and feel of the login form. Yes - you will need to know/use PHP in order to do that.

how to prevent back button to login page after user logs in

i have a log in page where user enters username and password and then the user is redirected to his account page, but when i press the back button it takes me back to the log in page. How do i prevent that from happening.
You should add checking if user is logged in on login page. If yes, you should make redirection to default page.
In your controller (where you check if user is valid or not), make a session variable and initialise it to "connected" for example.
And in your login form check if your session variable is connected if so redirect to wanted page.

How to avoid popup in http request

I have a url. when i access this through browser a popup comes and ask for user name and password and by giving right credential it opens the page. I want to know how to avoid the popup by passing the user name and password url itself and how to do that
note my username contains # symbol
Thanks A Lot
You can use the form:
http://<user>:<pass>#<host>:<port>/<path>
It even works with # in the username (IE might not support this).

How to check user authanticaon on an asp page

I have three page which are login.asp , check.asp and admin.asp . I want to block user to access page just typing url like www.xxxxxxx.xxx/admin.asp .How ı can do that ? is there a way to check redirected page.? ı want just check.asp page can redirect to admin.asp page
I know session solution but ı want to use another one
Essentially you need to set some kind of authentication token which identifies that the user has been authenticated. This is often done with either a cookie or a session value. Then, on any page which requires authentication, you check for the existence of this token.
If the token (which can be as simple as a boolean IsAuthenticated value or an integer UserID value, or as complex as a complete User object with everything you need to know about that person, their roles, etc.) is valid, render the page. If it is not valid, redirect or display a message of some kind.
IF Request.ServerVariables("HTTP_REFERER")="" THEN
Response.write("Not accessable")
response.end
END IF
' Put this code on top of page , Request.ServerVariables("HTTP_REFERER") which gives URL of previous page. so if any one directly paste URL in browser it will be blank , so we can track by this way.

Joomla mod_login vs com_user

I'm having a very weird issue with user logins.
I'm building a site where all the content/menus are only available after you login.
I made a 'login' through the Modules and assign it the "userlogin" position.
Now when I go to the home page or any page, the login box comes up, but there's also a second login form. It seems to be coming from com_user.
This com_user login form doesn't work. I can't login using any credentials. If it was working I can simply remove my login module.
Is there a way I can either:
get com_user to work with normal user logins
or
disable this and so I can only see the Module login.
I can hide it from CSS, but I want to know where it's coming from.
Check the menu link which you have created should be public.
If these are not public then whenever user clicks it, he/she will be asked for login. Thats why the second login option is coming up.